Commit 42132552 authored by David Košenina's avatar David Košenina

linux compile fix

parent 41463c5b
......@@ -88,7 +88,7 @@ int fileLoadPtr(const char* fileName, char* buffer, ilarge* bufferSize)
{
return 1;
}
*bufferSize = min( *bufferSize, SDL_RWsize(ctx) );
*bufferSize = min<ilarge>( *bufferSize, (ilarge)SDL_RWsize(ctx) );
SDL_RWread(ctx, buffer, 1, *bufferSize);
SDL_RWclose(ctx);
return 0;
......
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