neutrino: fix 32<->64bit format string warnings

use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
This commit is contained in:
Stefan Seyfried
2012-11-03 13:56:26 +01:00
parent 13714e7f36
commit e0acbd3ddb
41 changed files with 208 additions and 233 deletions

View File

@@ -185,7 +185,7 @@ int check_dir(const char * dir)
ret = 0;
break; //ok
default:
fprintf(stderr, "%s Unknow File system type: %i\n" ,dir ,s.f_type);
fprintf(stderr, "%s Unknown filesystem type: 0x%x\n", dir, (int)s.f_type);
break; // error
}
}