mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4dbeb3a31e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
85eb0ab46b
commit
0e01a7b32c
@@ -189,7 +189,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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user