diff --git a/lib/common/leon_inttypes.h b/lib/common/leon_inttypes.h
index 694af3e1e217129e775ee5d7a5ba5656be2b206a..7374e27465c58a0fae6367cd0a3d21eceb2e6619 100644
--- a/lib/common/leon_inttypes.h
+++ b/lib/common/leon_inttypes.h
@@ -49,6 +49,8 @@
 #  define PRIX32 "lX"
 #endif /*PRIX32*/
 
+#if 0
+/* sparc-elf-gcc (BCC 4.4.2 release 1.0.50) does not support printf for long long types */
 #ifndef PRId64
 #  define PRId64 "lld"
 #endif /*PRId64*/
@@ -72,6 +74,7 @@
 #ifndef PRIX64
 #  define PRIX64 "llX"
 #endif /*PRIX64*/
+#endif
 
 #endif /* __sparc__ */
 
diff --git a/test/cmp_decmp/test_cmp_decmp.c b/test/cmp_decmp/test_cmp_decmp.c
index 0cfd4c41cb042b09af8575d793d4ed5037e2572b..d4959caafe5dfd124cbdc1eab17c3bd900a339db 100644
--- a/test/cmp_decmp/test_cmp_decmp.c
+++ b/test/cmp_decmp/test_cmp_decmp.c
@@ -22,6 +22,7 @@
 
 #include <string.h>
 #include <stdlib.h>
+#include <stdio.h>
 
 #include <unity.h>
 #include "../test_common/test_common.h"
@@ -60,9 +61,11 @@ void setUp(void)
 #endif
 
 	if (!n) {
+		uint32_t high = seed >> 32;
+		uint32_t low = seed & 0xFFFFFFFF;
 		n = 1;
 		cmp_rand_seed(seed);
-		printf("seed: %"PRIu64"\n", seed);
+		printf("seed: 0x%08"PRIx32"%08"PRIx32"\n", high, low);
 	}
 }