change log for rtems (2010-04-25)
chrisj at rtems.org
Tue Apr 27 06:21:05 UTC 2010
On 26/04/2010 1:31 PM, Ralf Corsepius wrote:
>> - srand (0x23984237);
>> + srand (0x23984237UL);
> This change is wrong.
> srand takes an "unsigned int", not an "unsigned long" as argument:
> void srand(unsigned int seed);
> => For the code to be portable, this constant's value needs to be
Would this code be ok ?
if (sizeof (unsigned int) == 4)
More information about the vc