Merge "Change android_dlextinfo flags to uint64_t"
diff --git a/libc/include/android/dlext.h b/libc/include/android/dlext.h
index 616e08e..5c3a206 100644
--- a/libc/include/android/dlext.h
+++ b/libc/include/android/dlext.h
@@ -63,7 +63,7 @@
 };
 
 typedef struct {
-  int     flags;
+  uint64_t flags;
   void*   reserved_addr;
   size_t  reserved_size;
   int     relro_fd;
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 506c3f2..04ffe59 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -856,7 +856,7 @@
     return NULL;
   }
   if (extinfo != NULL && ((extinfo->flags & ~(ANDROID_DLEXT_VALID_FLAG_BITS)) != 0)) {
-    DL_ERR("invalid extended flags to android_dlopen_ext: %x", extinfo->flags);
+    DL_ERR("invalid extended flags to android_dlopen_ext: %" PRIx64, extinfo->flags);
     return NULL;
   }
   protect_data(PROT_READ | PROT_WRITE);