]> git.saurik.com Git - ldid.git/blobdiff - ldid.cpp
Fix a stupid warning with printf().
[ldid.git] / ldid.cpp
index a438e2391aa8d99dc9a40aa43c5254f5165a2e6c..d5b739cd0015f0edef5e9dfd4e1889bb15899d5d 100644 (file)
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -591,7 +591,7 @@ int main(int argc, const char *argv[]) {
         if (woffset != _not(uintptr_t)) {
             Pointer<uint32_t> wvalue(framework.GetPointer<uint32_t>(woffset));
             if (wvalue == NULL)
         if (woffset != _not(uintptr_t)) {
             Pointer<uint32_t> wvalue(framework.GetPointer<uint32_t>(woffset));
             if (wvalue == NULL)
-                printf("(null) %p\n", woffset);
+                printf("(null) %p\n", reinterpret_cast<void *>(woffset));
             else
                 printf("0x%.08x\n", *wvalue);
         }
             else
                 printf("0x%.08x\n", *wvalue);
         }