diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-06-18 16:32:27 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-06-25 10:15:22 -0700 |
commit | d239cb6e6898bdf2300e9038111727a9056c58ee (patch) | |
tree | fded306f76cc93e76d8354dab66cf55828b5ff0c /media/mtp/MtpStorageInfo.cpp | |
parent | 1ee7a03fafe9b1983465979729a630e5be3be4e1 (diff) | |
download | frameworks_av-d239cb6e6898bdf2300e9038111727a9056c58ee.zip frameworks_av-d239cb6e6898bdf2300e9038111727a9056c58ee.tar.gz frameworks_av-d239cb6e6898bdf2300e9038111727a9056c58ee.tar.bz2 |
mtp: 64-bit compile warnings
Change-Id: I9ebc270c990d2f83311cec8fef8f1d2842ebf291
Diffstat (limited to 'media/mtp/MtpStorageInfo.cpp')
-rw-r--r-- | media/mtp/MtpStorageInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/mtp/MtpStorageInfo.cpp b/media/mtp/MtpStorageInfo.cpp index dcd37cd..2b1a9ae 100644 --- a/media/mtp/MtpStorageInfo.cpp +++ b/media/mtp/MtpStorageInfo.cpp @@ -16,6 +16,8 @@ #define LOG_TAG "MtpStorageInfo" +#include <inttypes.h> + #include "MtpDebug.h" #include "MtpDataPacket.h" #include "MtpStorageInfo.h" @@ -63,7 +65,7 @@ void MtpStorageInfo::read(MtpDataPacket& packet) { void MtpStorageInfo::print() { ALOGD("Storage Info %08X:\n\tmStorageType: %d\n\tmFileSystemType: %d\n\tmAccessCapability: %d\n", mStorageID, mStorageType, mFileSystemType, mAccessCapability); - ALOGD("\tmMaxCapacity: %lld\n\tmFreeSpaceBytes: %lld\n\tmFreeSpaceObjects: %d\n", + ALOGD("\tmMaxCapacity: %" PRIu64 "\n\tmFreeSpaceBytes: %" PRIu64 "\n\tmFreeSpaceObjects: %d\n", mMaxCapacity, mFreeSpaceBytes, mFreeSpaceObjects); ALOGD("\tmStorageDescription: %s\n\tmVolumeIdentifier: %s\n", mStorageDescription, mVolumeIdentifier); |