altos/test: Fix printf format for int64 arithmetic test
[fw/altos] / src / test / ao_int64_test.c
index 07538ee0185010fc1095cd67ba60780fff02b6ee..d329f67b5ff407498b0992fa5e5bb8d85639ba77 100644 (file)
@@ -34,7 +34,7 @@ int   errors;
                c = ao_cast64(&ao_r);                                   \
                if (c != r) {                                           \
                        printf ("trial %4d: %lld " #func mod " %lld = %lld (should be %lld)\n", \
-                               trial, (int64_t) (a), (int64_t) b, c, r); \
+                               trial, (long long) (a), (long long) b, (long long) c, (long long) r); \
                        ++errors;                                       \
                }                                                       \
        } while (0)