vfat.cpp: Silence a couple of compiler warnings.

This commit is contained in:
rogerman 2017-09-09 13:00:35 -07:00
parent 4cfa910e75
commit 17ff2b2d6e
1 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ bool VFAT::build(const char* path, int extra_MB)
if(dataSectors>=(0x80000000>>9))
{
printf("error allocating memory for fat (%d KBytes)\n",(dataSectors*512)/1024);
printf("error allocating memory for fat (%llu KBytes)\n",(dataSectors*512)/1024);
printf("total fat sizes > 2GB are never going to work\n");
}
@ -210,7 +210,7 @@ bool VFAT::build(const char* path, int extra_MB)
}
catch(std::bad_alloc)
{
printf("error allocating memory for fat (%d KBytes)\n",(dataSectors*512)/1024);
printf("error allocating memory for fat (%llu KBytes)\n",(dataSectors*512)/1024);
printf("(out of memory)\n");
return false;
}
@ -255,4 +255,4 @@ EMUFILE* VFAT::detach()
EMUFILE* ret = file;
file = NULL;
return ret;
}
}