mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
rt: Fix build bustage due to gcc's format string warnings
This commit is contained in:
parent
61afef29a1
commit
9226ac9ec5
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user