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>
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 @@
type_ = (uint32_t)type;
break;
default:
- ALOGE("Invalid plane type %d", type);
+ ALOGE("Invalid plane type %" PRIu64, type);
return -EINVAL;
}