diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-06-09 16:28:21 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-06-09 16:28:21 -0700 |
commit | 7b73e7127dc727e78460c92ca4115ccad87cf321 (patch) | |
tree | 1da995de5a366069f3f2b7bad6ac3bcb6d107890 /camera | |
parent | 05eaf105a2a1445c2c13801ee4533ded47f1df1b (diff) | |
download | frameworks_av-7b73e7127dc727e78460c92ca4115ccad87cf321.zip frameworks_av-7b73e7127dc727e78460c92ca4115ccad87cf321.tar.gz frameworks_av-7b73e7127dc727e78460c92ca4115ccad87cf321.tar.bz2 |
libcamera_client: 64-bit compile issue
- size_t print format
- some unused parameter warning messages
Change-Id: I2c0f50dda7e810f3f60603fd9d8c62c5b8767528
Diffstat (limited to 'camera')
-rw-r--r-- | camera/CameraBase.cpp | 4 | ||||
-rw-r--r-- | camera/CameraParameters.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/camera/CameraBase.cpp b/camera/CameraBase.cpp index 55376b0..04694cd 100644 --- a/camera/CameraBase.cpp +++ b/camera/CameraBase.cpp @@ -49,7 +49,7 @@ namespace { DeathNotifier() { } - virtual void binderDied(const wp<IBinder>& who) { + virtual void binderDied(const wp<IBinder>& /*who*/) { ALOGV("binderDied"); Mutex::Autolock _l(gLock); gCameraService.clear(); @@ -153,7 +153,7 @@ status_t CameraBase<TCam, TCamTraits>::getStatus() } template <typename TCam, typename TCamTraits> -void CameraBase<TCam, TCamTraits>::binderDied(const wp<IBinder>& who) { +void CameraBase<TCam, TCamTraits>::binderDied(const wp<IBinder>& /*who*/) { ALOGW("mediaserver's remote binder Camera object died"); notifyCallback(CAMERA_MSG_ERROR, CAMERA_ERROR_SERVER_DIED, /*ext2*/0); } diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index af091f4..78eb4d6 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -456,7 +456,7 @@ const char *CameraParameters::getPictureFormat() const void CameraParameters::dump() const { - ALOGD("dump: mMap.size = %d", mMap.size()); + ALOGD("dump: mMap.size = %zu", mMap.size()); for (size_t i = 0; i < mMap.size(); i++) { String8 k, v; k = mMap.keyAt(i); @@ -465,7 +465,7 @@ void CameraParameters::dump() const } } -status_t CameraParameters::dump(int fd, const Vector<String16>& args) const +status_t CameraParameters::dump(int fd, const Vector<String16>& /*args*/) const { const size_t SIZE = 256; char buffer[SIZE]; |