Branch: Tag:

2010-10-30

2010-10-30 19:54:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some code that only makes sense with 64 bit INT_TYPE.

1372:   PIKEFUN int random(int i)   {    if(i <= 0) RETURN 0; - #ifdef AUTO_BIGNUM + #if defined (AUTO_BIGNUM) && SIZEOF_INT_TYPE > 4    if(i >> 31) {    unsigned INT_TYPE a = my_rand();    unsigned INT_TYPE b = my_rand();