From 446f334cc1ee67b280e218ae58fef34d5b063cea Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 6 Oct 2001 17:45:42 +0000 Subject: WIN32 compatibility, removed kbdptr.c --- tableinitcmtemplate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tableinitcmtemplate.c') diff --git a/tableinitcmtemplate.c b/tableinitcmtemplate.c index b8144ea..2d10ea5 100644 --- a/tableinitcmtemplate.c +++ b/tableinitcmtemplate.c @@ -48,7 +48,7 @@ rfbInitColourMapSingleTableOUT(char **table, rfbPixelFormat *in, { CARD32 i, r, g, b; OUT_T *t; - int nEntries = 1 << in->bitsPerPixel; + CARD32 nEntries = 1 << in->bitsPerPixel; int shift = colourMap->is16?16:8; if (*table) free(*table); -- cgit v1.2.1