From 4c9221b52b0e66cacd49be7a23966e9d4b2ee3f4 Mon Sep 17 00:00:00 2001 From: thurston Date: Mon, 18 May 2009 14:37:42 +0000 Subject: [PATCH] Somehow r663, which contained a fix for 64bit, got checked in as a null change (whitespace only). This fixes that. git-svn-id: http://svn.complang.org/ragel/trunk@861 052ea7fc-9027-0410-9066-f65837a77df0 --- ragel/parsedata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ragel/parsedata.cpp b/ragel/parsedata.cpp index 16e6f7a..6dd8492 100644 --- a/ragel/parsedata.cpp +++ b/ragel/parsedata.cpp @@ -115,7 +115,7 @@ Key makeFsmKeyHex( char *str, const InputLoc &loc, ParseData *pd ) } if ( unusedBits && keyOps->alphType->isSigned && ul >> (size * 8 - 1) ) - ul |= ( 0xffffffff >> (size*8) ) << (size*8); + ul |= ( -1L >> (size*8) ) << (size*8); return Key( (long)ul ); } -- 2.7.4