mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +00:00
Fix a compiler warning on 32 bit.
Hopefully we'll never allocate more than 2^32 bytes of memory for surfaces. :)
This commit is contained in:
parent
68e1cb6d00
commit
ba4f91f619
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ void R_NewMap (void)
|
|||
surfaces = malloc (r_cnumsurfs * sizeof(surf_t));
|
||||
if (!surfaces)
|
||||
{
|
||||
R_Printf(PRINT_ALL, "R_NewMap: Couldn't malloc %ld bytes\n", r_cnumsurfs * sizeof(surf_t));
|
||||
R_Printf(PRINT_ALL, "R_NewMap: Couldn't malloc %d bytes\n", (int)(r_cnumsurfs * sizeof(surf_t)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue