]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[script] Silence compiler warning
authorRay Strode <rstrode@redhat.com>
Wed, 24 Mar 2010 03:12:17 +0000 (23:12 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 24 Mar 2010 03:12:17 +0000 (23:12 -0400)
src/plugins/splash/script/script-object.c

index 1c9e902c67c29d93d4db59965b912f2b18f116a7..4669406dcf134459bed1149717beec6de65d334b 100644 (file)
@@ -314,7 +314,7 @@ char *script_obj_as_string (script_obj_t *obj)              /* reply is strduppe
     }
   if (script_obj_is_null (obj))
     return strdup("#NULL");
-  asprintf (&reply, "#(0x%x)", (int) obj);
+  asprintf (&reply, "#(0x%p)", obj);
   return reply;
 }