1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fix arithmetic overflow error

This commit is contained in:
disarray2077 2022-01-13 12:27:50 -03:00 committed by GitHub
parent 63792924e0
commit 44aa69fc1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ namespace System
if (++locINext >= 56) locINext = 1; if (++locINext >= 56) locINext = 1;
if (++locINextp >= 56) locINextp = 1; if (++locINextp >= 56) locINextp = 1;
retVal = SeedArray[locINext] - SeedArray[locINextp]; retVal = SeedArray[locINext] &- SeedArray[locINextp];
SeedArray[locINext] = retVal; SeedArray[locINext] = retVal;
inext = locINext; inext = locINext;