summaryrefslogtreecommitdiff
path: root/ucoo/arch
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/arch')
-rw-r--r--ucoo/arch/host/mex/test/test_mex.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucoo/arch/host/mex/test/test_mex.cc b/ucoo/arch/host/mex/test/test_mex.cc
index 3c844cd..f2674c9 100644
--- a/ucoo/arch/host/mex/test/test_mex.cc
+++ b/ucoo/arch/host/mex/test/test_mex.cc
@@ -50,12 +50,12 @@ printbuf (const char *head, const char *buf, int count)
/// Helper function, check for equality.
static void
-check (int64_t a, int64_t b, const char *name = NULL)
+check (intmax_t a, intmax_t b, const char *name = NULL)
{
- printf ("%s: %Lx\n", name ? name : "pop", a);
+ printf ("%s: %jd\n", name ? name : "pop", a);
if (a != b)
{
- printf (" expected: %Lx\n", b);
+ printf (" expected: %jd\n", b);
error++;
}
}