summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv.c
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 /sesman/chansrv/chansrv.c
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 'sesman/chansrv/chansrv.c')
-rw-r--r--sesman/chansrv/chansrv.c2
1 files changed, 1 insertions, 1 deletions
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;