rt: Fix build bustage due to gcc's format string warnings

This commit is contained in:
Patrick Walton 2011-09-23 12:09:52 -07:00
parent 61afef29a1
commit 9226ac9ec5

View File

@ -318,14 +318,14 @@ public:
if (n_obj_params & 0x80000000) {
// Function closure.
DPRINT("n_obj_params FN %lu, tydesc %p, starting at %p\n",
n_obj_params, tydesc, tydesc + 4);
(unsigned long)n_obj_params, tydesc, tydesc + 4);
n_obj_params &= 0x7fffffff;
first_param = (const type_desc **)
((uint8_t *)(tydesc + 4) + (*tydesc)->size);
} else {
// Object closure.
DPRINT("n_obj_params OBJ %lu, tydesc %p, starting at %p\n",
n_obj_params, tydesc, tydesc + 4);
(unsigned long)n_obj_params, tydesc, tydesc + 4);
first_param = tydesc + 4;
}
}