Dear Mike Frysinger,

> On Sunday 01 April 2012 18:40:05 Graeme Russ wrote:
> >         if ((long)bytes == 0) {
> >         
> >                 DEBUG("Warning: malloc of zero block size\n");
> >                 bytes = 1;
> >         
> >         } else if ((long)bytes < 0) {
> >         
> >                 DEBUG("Error: malloc of negative block size\n");
> >                 return 0;
> >         
> >         }
> 
> this should be (ssize_t) casts, not (long)

This ain't the point of this, but you're right.

> -mike

Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to