[script] Silence compiler warning

This commit is contained in:
Ray Strode 2010-03-23 23:12:17 -04:00
parent ff78fd70cf
commit 772455097f

View 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;
}