diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-04-10 01:25:15 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-04-10 01:25:15 +0200 |
commit | f0ab1b5ce6499bfa0c8a449089da7eb210a0a047 (patch) | |
tree | 203dc13003823f0d782857ce90de5eb21e032fde /src | |
parent | d01d02dfec06f554702adad5a2fa59d479dcdfac (diff) | |
download | ODR-PadEnc-f0ab1b5ce6499bfa0c8a449089da7eb210a0a047.tar.gz ODR-PadEnc-f0ab1b5ce6499bfa0c8a449089da7eb210a0a047.tar.bz2 ODR-PadEnc-f0ab1b5ce6499bfa0c8a449089da7eb210a0a047.zip |
Fix printf warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/mot-encoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index 9f502c1..eabca9b 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -144,7 +144,7 @@ struct fingerprint_t { } void disp(void) { - printf("%s_%d_%d:%d\n", s_name.c_str(), s_size, s_mtime, fidx); + printf("%s_%ld_%lu:%d\n", s_name.c_str(), s_size, s_mtime, fidx); } void load_from_file(const char* filepath) @@ -1309,7 +1309,7 @@ void History::disp_database() } else { for (id = 0; id < m_database.size(); id++) { - printf(" id %4d: ", id); + printf(" id %4zu: ", id); m_database[id].disp(); } } |