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. --- sesman/chansrv/chansrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sesman/chansrv/chansrv.c') diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 95224e9c..c1f41499 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -55,7 +55,7 @@ static tbus g_thread_done_event = 0; static int g_use_unix_socket = 0; -static char g_xrdpapi_magic[12] = +static const unsigned char g_xrdpapi_magic[12] = { 0x78, 0x32, 0x10, 0x67, 0x00, 0x92, 0x30, 0x56, 0xff, 0xd8, 0xa9, 0x1f }; int g_display_num = 0; -- cgit v1.2.1