From 639aff65d4748b9f88039a6f9436857ddabee8d8 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Mon, 17 Aug 2009 01:12:11 +0200 Subject: tools/wmc: support higher range of Message ID's --- tools/wmc/mcy.y | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wmc/mcy.y b/tools/wmc/mcy.y index 5de67c9..faec7a0 100644 --- a/tools/wmc/mcy.y +++ b/tools/wmc/mcy.y @@ -281,8 +281,8 @@ msg : msgid sevfacsym { test_id($1); } bodies { $$ = complete_msg($4, $1); } ; msgid : tMSGID '=' id { - if($3 & (~0xffff)) - xyyerror("Message ID value out of range (0x%08x > 0xffff)\n", $3); + if($3 & (~0xffffffff)) + xyyerror("Message ID value out of range (0x%08x > 0xffffffff)\n", $3); $$ = $3; } | tMSGID error { xyyerror(err_assign); } -- 1.6.0.4