[ODE] dRandInt Crash Fix -> DOES NOT LINK
Adam D. Moss
adam at gimp.org
Wed Jun 22 19:47:31 MST 2005
Doron Tal wrote:
> I replaced dRandInt() with the one you posted below and recompiled
> it but the argument type of the new definition has changed from 'int' to
> 'unsigned long' and as it stands
Hence the 'something like' - this wasn't a patch - either the
dRandInt prototype in misc.h needs a corresponding change or you can
keep the 'int n' prototype as it is and just do a 'unsigned long un = n'
at the start of the function.
Regards,
--adam
--
Adam D. Moss - adam at gimp.org
More information about the ODE
mailing list