|
From: <sv...@va...> - 2011-05-04 09:08:41
|
Author: sewardj
Date: 2011-05-04 10:08:34 +0100 (Wed, 04 May 2011)
New Revision: 11725
Log:
scalarts_limitations_fail_NORETURN: fix a format string error
spotted by IBM's BEAM checker. (Why didn't gcc or clang see this?)
Modified:
trunk/helgrind/libhb_core.c
Modified: trunk/helgrind/libhb_core.c
===================================================================
--- trunk/helgrind/libhb_core.c 2011-05-04 09:07:38 UTC (rev 11724)
+++ trunk/helgrind/libhb_core.c 2011-05-04 09:08:34 UTC (rev 11725)
@@ -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"
|