diff options
author | dscho <dscho> | 2002-05-02 12:53:29 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-05-02 12:53:29 +0000 |
commit | ff9fbd971bdebf8eca22446139803a2647dbcf5a (patch) | |
tree | 72e85c15b93a562d22cf2e923a70d186f1d6ecb6 /tableinit24.c | |
parent | 22405c3dddfe5cb78b792f3d6b20ba1e5bd427a9 (diff) | |
download | libtdevnc-ff9fbd971bdebf8eca22446139803a2647dbcf5a.tar.gz libtdevnc-ff9fbd971bdebf8eca22446139803a2647dbcf5a.zip |
Tim's Changes
Diffstat (limited to 'tableinit24.c')
-rw-r--r-- | tableinit24.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tableinit24.c b/tableinit24.c index ece8623..f1e63a5 100644 --- a/tableinit24.c +++ b/tableinit24.c @@ -34,7 +34,7 @@ rfbInitColourMapSingleTable24(char **table, rfbPixelFormat *in, CARD32 i, r, g, b, outValue; CARD8 *t; CARD8 c; - int nEntries = 1 << in->bitsPerPixel; + unsigned int nEntries = 1 << in->bitsPerPixel; int shift = colourMap->is16?16:8; if (*table) free(*table); |