diff options
author | Sean Paul <seanpaul@chromium.org> | 2016-05-11 13:49:38 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-05-11 13:49:38 -0400 |
commit | f741c672bade253f172c642049a3b8f25d3bcb22 (patch) | |
tree | 718046cfa0b4f2ca17366e4e5e8b7db2bfef3bae /drmplane.cpp | |
parent | 0aee6b2afa33652722641cbf3d4cc1689e1baa1b (diff) |
drm_hwcomposer: Fix up some printf warnings and a clang-style nit
BUG=None
TEST=Compiles
Change-Id: Ie95aad60b225784c36d411ec16a34ff32ea8acc6
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drmplane.cpp')
-rw-r--r-- | drmplane.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drmplane.cpp b/drmplane.cpp index 2314c39..c4ea722 100644 --- a/drmplane.cpp +++ b/drmplane.cpp @@ -19,6 +19,7 @@ #include "drmplane.h" #include "drmresources.h" +#include <cinttypes> #include <errno.h> #include <stdint.h> @@ -53,7 +54,7 @@ int DrmPlane::Init() { type_ = (uint32_t)type; break; default: - ALOGE("Invalid plane type %d", type); + ALOGE("Invalid plane type %" PRIu64, type); return -EINVAL; } |