author | deba |
Thu, 20 Dec 2007 15:13:06 +0000 | |
changeset 2545 | 2bed3e806e1e |
parent 2544 | 5143b01bf1d5 |
child 2546 | b5eba564bb60 |
lemon/random.h | file | annotate | diff | comparison | revisions |
1.1 --- a/lemon/random.h Wed Dec 19 22:23:28 2007 +0000 1.2 +++ b/lemon/random.h Thu Dec 20 15:13:06 2007 +0000 1.3 @@ -257,7 +257,7 @@ 1.4 --curr; 1.5 } 1.6 curr[0] = (((curr[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^ 1.7 - curr[length - shift] ^ mask[curr[length - 1] & 1ul]; 1.8 + curr[length - shift] ^ mask[int(curr[length - 1] & 1ul)]; 1.9 1.10 } 1.11