mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
tests: fix 32-bit build for %lx usage
This commit is contained in:
@ -66,7 +66,7 @@ main (gint argc,
|
|||||||
|
|
||||||
if (sysprof_address_is_context_switch (addr, &context))
|
if (sysprof_address_is_context_switch (addr, &context))
|
||||||
{
|
{
|
||||||
g_print (" %02d: %016lx: Context Switch\n", a, addr);
|
g_print (" %02d: %016"G_GINT64_MODIFIER"x: Context Switch\n", a, addr);
|
||||||
last_context = context;
|
last_context = context;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -86,14 +86,14 @@ main (gint argc,
|
|||||||
|
|
||||||
if (symbol != NULL)
|
if (symbol != NULL)
|
||||||
{
|
{
|
||||||
g_print (" %02d: %016lx: %s\n", a, addr, symbol);
|
g_print (" %02d: %016"G_GINT64_MODIFIER"x: %s\n", a, addr, symbol);
|
||||||
found = TRUE;
|
found = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
g_print (" %02d: %016lx: \n", a, addr);
|
g_print (" %02d: %016"G_GINT64_MODIFIER"x: \n", a, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user