aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/test/signal-logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/test/signal-logging.c')
-rw-r--r--xorg-server/test/signal-logging.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/test/signal-logging.c b/xorg-server/test/signal-logging.c
index a03c5acbe..7bbd9105e 100644
--- a/xorg-server/test/signal-logging.c
+++ b/xorg-server/test/signal-logging.c
@@ -56,7 +56,7 @@ check_signed_number_format_test(long int number)
FormatInt64(number, string);
if(strncmp(string, expected, 21) != 0) {
fprintf(stderr, "Failed to convert %jd to decimal string (expected %s but got %s)\n",
- number, expected, string);
+ (intmax_t) number, expected, string);
return FALSE;
}
@@ -93,7 +93,7 @@ check_number_format_test(long unsigned int number)
FormatUInt64(number, string);
if(strncmp(string, expected, 21) != 0) {
fprintf(stderr, "Failed to convert %ju to decimal string (%s vs %s)\n",
- number, expected, string);
+ (intmax_t) number, expected, string);
return FALSE;
}
@@ -101,7 +101,7 @@ check_number_format_test(long unsigned int number)
FormatUInt64Hex(number, string);
if(strncmp(string, expected, 17) != 0) {
fprintf(stderr, "Failed to convert %ju to hexadecimal string (%s vs %s)\n",
- number, expected, string);
+ (intmax_t) number, expected, string);
return FALSE;
}