diff options
author | Colin Cross <ccross@android.com> | 2014-03-21 15:04:25 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-21 15:04:25 -0700 |
commit | e5729fac81c8a984e984fefc90afc64135817d4f (patch) | |
tree | 526e94e71d66a2cf8faac48c16716bf3c757a2a6 /services/camera/libcameraservice/api2 | |
parent | 24e1bd71ac6850d9062b3bd803b37c0e92f69c7a (diff) | |
download | frameworks_av-e5729fac81c8a984e984fefc90afc64135817d4f.zip frameworks_av-e5729fac81c8a984e984fefc90afc64135817d4f.tar.gz frameworks_av-e5729fac81c8a984e984fefc90afc64135817d4f.tar.bz2 |
libcameraservice: fix 64-bit print format warnings
Use PRId64 from inttypes.h to print nsecs_t (int64_t)
Use %zu to print size_t
Change-Id: I135620e0388db33587a8a7da393b48a45cb7275a
Diffstat (limited to 'services/camera/libcameraservice/api2')
-rw-r--r-- | services/camera/libcameraservice/api2/CameraDeviceClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/api2/CameraDeviceClient.cpp b/services/camera/libcameraservice/api2/CameraDeviceClient.cpp index 1cdf8dc..142da9e 100644 --- a/services/camera/libcameraservice/api2/CameraDeviceClient.cpp +++ b/services/camera/libcameraservice/api2/CameraDeviceClient.cpp @@ -284,7 +284,7 @@ status_t CameraDeviceClient::createStream(int width, int height, int format, ssize_t index = mStreamMap.indexOfKey(bufferProducer->asBinder()); if (index != NAME_NOT_FOUND) { ALOGW("%s: Camera %d: Buffer producer already has a stream for it " - "(ID %d)", + "(ID %zd)", __FUNCTION__, mCameraId, index); return ALREADY_EXISTS; } |