PVS V536: accidentally octal constant

This bug was inherited from the original XScreenSaver sourcecode:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575279#10

And is now fixed there:
https://github.com/Zygo/xscreensaver/blob/master/utils/yarandom.c
Change-Id: I08f2d968b76cd0b86291695e2f05e2173c972d05
Reviewed-on: https://review.haiku-os.org/c/1666
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Adrien Destugues 2019-07-30 20:45:41 +02:00 committed by waddlesplash
parent 679c751309
commit e1633b4220

View File

@ -103,7 +103,7 @@ ya_rand_init(unsigned int seed)
}
i1 = a[0] % VECTOR_SIZE;
i2 = (i1 + 024) % VECTOR_SIZE;
i2 = (i1 + 24) % VECTOR_SIZE;
}