diff options
author | dscho <dscho> | 2001-10-06 17:45:42 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-06 17:45:42 +0000 |
commit | 446f334cc1ee67b280e218ae58fef34d5b063cea (patch) | |
tree | f238279505d71a241b20154a43aee10b7acde3fa /tableinitcmtemplate.c | |
parent | 018e90db5918a75ceaf3835be084e2387f31a47e (diff) | |
download | libtdevnc-446f334cc1ee67b280e218ae58fef34d5b063cea.tar.gz libtdevnc-446f334cc1ee67b280e218ae58fef34d5b063cea.zip |
WIN32 compatibility, removed kbdptr.c
Diffstat (limited to 'tableinitcmtemplate.c')
-rw-r--r-- | tableinitcmtemplate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |