diff options
author | Dan Albert <danalbert@google.com> | 2014-11-27 21:39:46 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-11-27 21:39:46 -0800 |
commit | 9a8c57a3465322a963dfb9ed409abf4ba5c07a50 (patch) | |
tree | 88c68a1b22b92539a6aaf66e799dffa46d56077f /modules/camera | |
parent | 58afe329533dc60618186f414d945829706ed772 (diff) | |
download | hardware_libhardware-9a8c57a3465322a963dfb9ed409abf4ba5c07a50.zip hardware_libhardware-9a8c57a3465322a963dfb9ed409abf4ba5c07a50.tar.gz hardware_libhardware-9a8c57a3465322a963dfb9ed409abf4ba5c07a50.tar.bz2 |
Fix C++11 build.
Not sure how this slipped past my checkbuild...
Change-Id: Id238887a2a47ced387a6128a772fad3e468096be
Diffstat (limited to 'modules/camera')
-rw-r--r-- | modules/camera/Stream.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/camera/Stream.cpp b/modules/camera/Stream.cpp index 2db3ed2..90ad30b 100644 --- a/modules/camera/Stream.cpp +++ b/modules/camera/Stream.cpp @@ -227,15 +227,15 @@ void Stream::dump(int fd) dprintf(fd, "Stream ID: %d (%p)\n", mId, mStream); dprintf(fd, "Stream Type: %s (%d)\n", typeToString(mType), mType); - dprintf(fd, "Width: %"PRIu32" Height: %"PRIu32"\n", mWidth, mHeight); + dprintf(fd, "Width: %" PRIu32 " Height: %" PRIu32 "\n", mWidth, mHeight); dprintf(fd, "Stream Format: %s (%d)", formatToString(mFormat), mFormat); // ToDo: prettyprint usage mask flags - dprintf(fd, "Gralloc Usage Mask: %#"PRIx32"\n", mUsage); - dprintf(fd, "Max Buffer Count: %"PRIu32"\n", mMaxBuffers); + dprintf(fd, "Gralloc Usage Mask: %#" PRIx32 "\n", mUsage); + dprintf(fd, "Max Buffer Count: %" PRIu32 "\n", mMaxBuffers); dprintf(fd, "Buffers Registered: %s\n", mRegistered ? "true" : "false"); - dprintf(fd, "Number of Buffers: %"PRIu32"\n", mNumBuffers); + dprintf(fd, "Number of Buffers: %" PRIu32 "\n", mNumBuffers); for (uint32_t i = 0; i < mNumBuffers; i++) { - dprintf(fd, "Buffer %"PRIu32"/%"PRIu32": %p\n", i, mNumBuffers, + dprintf(fd, "Buffer %" PRIu32 "/%" PRIu32 ": %p\n", i, mNumBuffers, mBuffers[i]); } } |