mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 10:16:26 +00:00
Fix MSVC warning.
This commit is contained in:
parent
3c95046d03
commit
7d75c147a2
|
@ -124,7 +124,7 @@ static void test__hwrite( void )
|
||||||
srand( (unsigned)time( NULL ) );
|
srand( (unsigned)time( NULL ) );
|
||||||
for (blocks = 0; blocks < 100; blocks++)
|
for (blocks = 0; blocks < 100; blocks++)
|
||||||
{
|
{
|
||||||
for (i = 0; i < sizeof( buffer ); i++)
|
for (i = 0; i < (long)sizeof( buffer ); i++)
|
||||||
{
|
{
|
||||||
buffer[i] = rand( );
|
buffer[i] = rand( );
|
||||||
checksum[0] = checksum[0] + buffer[i];
|
checksum[0] = checksum[0] + buffer[i];
|
||||||
|
@ -459,7 +459,7 @@ static void test__lwrite( void )
|
||||||
srand( (unsigned)time( NULL ) );
|
srand( (unsigned)time( NULL ) );
|
||||||
for (blocks = 0; blocks < 100; blocks++)
|
for (blocks = 0; blocks < 100; blocks++)
|
||||||
{
|
{
|
||||||
for (i = 0; i < sizeof( buffer ); i++)
|
for (i = 0; i < (long)sizeof( buffer ); i++)
|
||||||
{
|
{
|
||||||
buffer[i] = rand( );
|
buffer[i] = rand( );
|
||||||
checksum[0] = checksum[0] + buffer[i];
|
checksum[0] = checksum[0] + buffer[i];
|
||||||
|
|
Loading…
Reference in a new issue