scalarts_limitations_fail_NORETURN: fix a format string error
spotted by IBM's BEAM checker. (Why didn't gcc or clang see this?)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11725 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c
index 52ad28f..cb4530d 100644
--- a/helgrind/libhb_core.c
+++ b/helgrind/libhb_core.c
@@ -1601,7 +1601,7 @@
"Sorry. Helgrind can only handle programs that create\n"
"%'llu or fewer threads over their entire lifetime.\n"
"\n";
- VG_(umsg)(s, ThrID_MAX_VALID - 1024);
+ VG_(umsg)(s, (ULong)(ThrID_MAX_VALID - 1024));
} else {
HChar* s =
"\n"