From 2546a816b4c45f777d4917cb291de5330f44ecf6 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 13 Dec 2003 18:37:43 +0000 Subject: [PATCH] fix compiler warning --- common/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/engine.c b/common/engine.c index 7a57e2b44..396d53d21 100644 --- a/common/engine.c +++ b/common/engine.c @@ -1086,7 +1086,7 @@ index_from( DictionaryCtxt* dict, array_edge* p_edge ) } else if ( dict->nodeSize == 4 ) { array_edge_new* edge = (array_edge_new*)p_edge; result = ((edge->o.highByte << 8) | edge->o.lowByte) & 0x0000FFFF; - result |= edge->moreBits << 17; + result |= ((XP_U32)edge->moreBits) << 17; if ( (edge->o.bits & LASTBITMASK) != 0 ) { result |= 0x00010000; /* using | instead of + saves 4 bytes */ }