From aaa89ad4e6b5484b246ec9ecb7d93248e1fa74cd Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:17 -0700 Subject: Use const unsigned for hex arrays Some constants are too big for the signed type. --- xrdp/xrdp_bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xrdp/xrdp_bitmap.c') 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, -- cgit v1.2.3