drm_hwcomposer: Fix log warnings in DrmProprty::GetBlobData

Change-Id: I02dbe32a6579d57a4162986a07406635caa0220d
Signed-off-by: Andrew Wolfers <aswolfers@google.com>
diff --git a/drm/DrmProperty.h b/drm/DrmProperty.h
index 9664de0..c0f6161 100644
--- a/drm/DrmProperty.h
+++ b/drm/DrmProperty.h
@@ -18,6 +18,7 @@
 
 #include <xf86drmMode.h>
 
+#include <cinttypes>
 #include <cstdint>
 #include <map>
 #include <optional>
@@ -162,14 +163,14 @@
 
   auto blob = MakeDrmModePropertyBlobUnique(*fd_, value.value());
   if (blob == nullptr) {
-    ALOGE("Failed to read blob with id=%d from property %s", value.value(),
-          name_.c_str());
+    ALOGE("Failed to read blob with id=%" PRIu64 " from property %s",
+          value.value(), name_.c_str());
     return false;
   }
 
   if (blob->length % sizeof(T) != 0) {
     ALOGE(
-        "Property %s blob size of %zu bytes is not divisible by type argument "
+        "Property %s blob size of %u bytes is not divisible by type argument "
         "size of %zu bytes",
         name_.c_str(), blob->length, sizeof(T));
     return false;