Use llx format for address in MIR_load_module.
@@ -1581,8 +1581,8 @@ void MIR_load_module (MIR_context_t ctx, MIR_module_t m) {
} else if (item->item_type == MIR_func_item) {
if (item->addr == NULL) {
item->addr = _MIR_get_thunk (ctx);
-#ifdef MIR_DEBUG
- fprintf (stderr, "%016lx: %s\n", (size_t) item->addr, item->u.func->name);
+#if defined(MIR_DEBUG)
+ fprintf (stderr, "%016llx: %s\n", (unsigned long long) item->addr, item->u.func->name);
#endif
}
_MIR_redirect_thunk (ctx, item->addr, undefined_interface);
