diff options
author | Colin Cross <ccross@android.com> | 2014-03-24 19:36:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-24 19:36:36 +0000 |
commit | 32ce52b01dab863f2b4749e1c69f619cf820486f (patch) | |
tree | 489e255200d3a7bfdac8269bee29a9b55707f14e /services/camera/libcameraservice/common | |
parent | f555c47f1843b5a3557e18c16cb06b0ec06dcf34 (diff) | |
parent | 5c679d41714e42f153f6aeb492df54510a195bc1 (diff) | |
download | frameworks_av-32ce52b01dab863f2b4749e1c69f619cf820486f.zip frameworks_av-32ce52b01dab863f2b4749e1c69f619cf820486f.tar.gz frameworks_av-32ce52b01dab863f2b4749e1c69f619cf820486f.tar.bz2 |
am 5c679d41: resolved conflicts for merge of 3d7c5002 to klp-modular-dev-plus-aosp
* commit '5c679d41714e42f153f6aeb492df54510a195bc1':
libcameraservice: build 64-bit
libcameraservice: fix 64-bit print format warnings
Diffstat (limited to 'services/camera/libcameraservice/common')
-rw-r--r-- | services/camera/libcameraservice/common/Camera2ClientBase.cpp | 4 | ||||
-rw-r--r-- | services/camera/libcameraservice/common/FrameProcessorBase.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/services/camera/libcameraservice/common/Camera2ClientBase.cpp b/services/camera/libcameraservice/common/Camera2ClientBase.cpp index 2d1253f..6a88c87 100644 --- a/services/camera/libcameraservice/common/Camera2ClientBase.cpp +++ b/services/camera/libcameraservice/common/Camera2ClientBase.cpp @@ -18,6 +18,8 @@ #define ATRACE_TAG ATRACE_TAG_CAMERA //#define LOG_NDEBUG 0 +#include <inttypes.h> + #include <utils/Log.h> #include <utils/Trace.h> @@ -236,7 +238,7 @@ void Camera2ClientBase<TClientBase>::notifyShutter(int requestId, (void)requestId; (void)timestamp; - ALOGV("%s: Shutter notification for request id %d at time %lld", + ALOGV("%s: Shutter notification for request id %d at time %" PRId64, __FUNCTION__, requestId, timestamp); } diff --git a/services/camera/libcameraservice/common/FrameProcessorBase.cpp b/services/camera/libcameraservice/common/FrameProcessorBase.cpp index f2064fb..4d31667 100644 --- a/services/camera/libcameraservice/common/FrameProcessorBase.cpp +++ b/services/camera/libcameraservice/common/FrameProcessorBase.cpp @@ -183,7 +183,7 @@ status_t FrameProcessorBase::processListeners(const CameraMetadata &frame, item++; } } - ALOGV("Got %d range listeners out of %d", listeners.size(), mRangeListeners.size()); + ALOGV("Got %zu range listeners out of %zu", listeners.size(), mRangeListeners.size()); List<sp<FilteredListener> >::iterator item = listeners.begin(); for (; item != listeners.end(); item++) { (*item)->onFrameAvailable(requestId, frame); |