mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Fixed Coverity 'High Impact Outstanding' issues:
1489113 1489111 1489105 1489096 1489093 1489092 1486059 1486055 (false positive) 1486054 1486051 (false positive) 1486050 1486047 (false positive) 1486043 1446684
This commit is contained in:
+2
-2
@@ -1836,8 +1836,8 @@ void MemReset()
|
||||
for( int i = 0; i < 256; i++ )
|
||||
{
|
||||
clock = getRandomTime();
|
||||
random[ (i+0) & 0xFF ] ^= (clock >> 0) & 0xFF;
|
||||
random[ (i+1) & 0xFF ] ^= (clock >> 11) & 0xFF;
|
||||
random[ (i+0) & 0xFF ] = (clock >> 0) & 0xFF;
|
||||
random[ (i+1) & 0xFF ] = (clock >> 11) & 0xFF;
|
||||
}
|
||||
|
||||
memcpy( &memmain[ iByte ], random, 256 );
|
||||
|
||||
Reference in New Issue
Block a user