Commit 01768af2 authored by John van Groningen's avatar John van Groningen
Browse files

fix sprintf call for platforms where int is smaller than long or SizeT

parent 2c129e06
......@@ -206,7 +206,7 @@ ConvertAlloc (SizeT size)
if (size>gBytesLeft){
static char s[100];
sprintf (s,"ConvertAlloc: size = %d, gBytesLeft = %d",size,gBytesLeft);
sprintf (s,"ConvertAlloc: size = %ld, gBytesLeft = %ld",(long)size,gBytesLeft);
fatal_backend_error (s);
}
}
......
Supports Markdown
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