On 10/08/09 03:41, Alessandro Rubini wrote: > For memcpy all is well, for memset I have this problem:
> if (sizeof(long) > 4) > cl |= cl << 32; > string.c:416: warning: left shift count >= width of type > > (obviously there is no such shift in the generated code, > since the condition is false at compile time). > > I think I'll stick to u32 for memset, unless I get better suggestions. What about if (sizeof(long) > 4) cl |= (unsigned long long)cl << 32; ? Eric _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot