summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:17 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:43 +0000
commitaaa89ad4e6b5484b246ec9ecb7d93248e1fa74cd (patch)
tree9078477de1ecc78a5f00b6a21b3642d71295e876 /xrdp
parentaeeb3d2c2e26677758a64db496c86020f99d2f1a (diff)
downloadxrdp-proprietary-aaa89ad4e6b5484b246ec9ecb7d93248e1fa74cd.tar.gz
xrdp-proprietary-aaa89ad4e6b5484b246ec9ecb7d93248e1fa74cd.zip
Use const unsigned for hex arrays
Some constants are too big for the signed type.
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 6a062d51..e99e2bfe 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -38,7 +38,7 @@
while (0)
-static const int g_crc_table[256] =
+static const unsigned int g_crc_table[256] =
{
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,