diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-23 05:11:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-23 05:31:40 +0200 |
commit | 730e09ce65860d951d0edd9b5471278125915f0a (patch) | |
tree | 1f56e3208541994dc5e0aff55e789b233676b50e /libs/ardour/audiofilesource.cc | |
parent | ca48fffd72df21d7298bf00d1e73b1381d0ec0e3 (diff) |
another round of compiler warning fixes
Diffstat (limited to 'libs/ardour/audiofilesource.cc')
-rw-r--r-- | libs/ardour/audiofilesource.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc index 9c1b969190..40c3d2f012 100644 --- a/libs/ardour/audiofilesource.cc +++ b/libs/ardour/audiofilesource.cc @@ -237,7 +237,10 @@ AudioFileSource::old_peak_path (string audio_path) char buf[32]; #ifdef __APPLE__ - snprintf (buf, sizeof (buf), "%u-%u-%d.peak", stat_mount.st_ino, stat_file.st_ino, _channel); + snprintf (buf, sizeof (buf), "%llu-%llu-%d.peak", + (unsigned long long)stat_mount.st_ino, + (unsigned long long)stat_file.st_ino, + _channel); #else snprintf (buf, sizeof (buf), "%" PRId64 "-%" PRId64 "-%d.peak", (int64_t) stat_mount.st_ino, (int64_t) stat_file.st_ino, _channel); #endif |