gravatar
deba@inf.elte.hu
deba@inf.elte.hu
Array range check warning workaround in random.h The g++-4.2.1 preferred by OpenSUSE has a bug with array range cheking
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -256,3 +256,3 @@
256 256
        }
257
        curr[0] = (((curr[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
257
        state[0] = (((state[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
258 258
          curr[length - shift] ^ mask[curr[length - 1] & 1ul];
0 comments (0 inline)