vfat.cpp: Silence a couple of compiler warnings.
This commit is contained in:
parent
4cfa910e75
commit
17ff2b2d6e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue