summaryrefslogtreecommitdiff
path: root/helgrind
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-04 09:08:34 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-04 09:08:34 +0000
commit03e7d27ffe277c8e55ae689a98aee655a722af84 (patch)
tree75c10fd10f2e5724d49d8349bced05cf217eb788 /helgrind
parent6c55ba06bdeb9c088bf5d6dec325bb29d1dcafef (diff)
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
Diffstat (limited to 'helgrind')
-rw-r--r--helgrind/libhb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c
index 52ad28fe..cb4530d9 100644
--- a/helgrind/libhb_core.c
+++ b/helgrind/libhb_core.c
@@ -1601,7 +1601,7 @@ static void scalarts_limitations_fail_NORETURN ( Bool due_to_nThrs )
"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"