Commit 7d75c147 authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Fix MSVC warning.

parent 3c95046d
......@@ -124,7 +124,7 @@ static void test__hwrite( void )
srand( (unsigned)time( NULL ) );
for (blocks = 0; blocks < 100; blocks++)
{
for (i = 0; i < sizeof( buffer ); i++)
for (i = 0; i < (long)sizeof( buffer ); i++)
{
buffer[i] = rand( );
checksum[0] = checksum[0] + buffer[i];
......@@ -459,7 +459,7 @@ static void test__lwrite( void )
srand( (unsigned)time( NULL ) );
for (blocks = 0; blocks < 100; blocks++)
{
for (i = 0; i < sizeof( buffer ); i++)
for (i = 0; i < (long)sizeof( buffer ); i++)
{
buffer[i] = rand( );
checksum[0] = checksum[0] + buffer[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment