Re: [U-Boot] [PATCH V2 1/3] memcpy: copy one word at a time if possible

8 Oct
2009
8 Oct
'09
9:14 p.m.
On Thursday 08 October 2009 07:30:02 Alessandro Rubini wrote:
- if ( (((int)dest | (int)src | count) & (sizeof(long) - 1)) == 0) {
when i talked about changing the int cast, i was talking about the pointers. pointers should always be cast to (unsigned long). -mike
5692
Age (days ago)
5692
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike Frysinger