summaryrefslogtreecommitdiffstats
path: root/xrdpapi/xrdpapi.c
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2016-08-05 14:38:41 -0700
committerGitHub <noreply@github.com>2016-08-05 14:38:41 -0700
commit8353baab3d361bcdebb32f1677dd066e0b255dc9 (patch)
tree38bd74dc119bdc115d5876383d7a65ff3e19debd /xrdpapi/xrdpapi.c
parent81fe939dd346420d41eb2afcd6c8c05a422a9e7b (diff)
parentace7d2c822937a9cb0637946f85d1fbd63562c44 (diff)
downloadxrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.tar.gz
xrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.zip
Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
Diffstat (limited to 'xrdpapi/xrdpapi.c')
-rw-r--r--xrdpapi/xrdpapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xrdpapi/xrdpapi.c b/xrdpapi/xrdpapi.c
index baa1187a..ac303534 100644
--- a/xrdpapi/xrdpapi.c
+++ b/xrdpapi/xrdpapi.c
@@ -53,8 +53,10 @@ static int send_init(struct wts_obj *wts);
static int can_send(int sck, int millis);
static int can_recv(int sck, int millis);
-static char g_xrdpapi_magic[12] =
-{ 0x78, 0x32, 0x10, 0x67, 0x00, 0x92, 0x30, 0x56, 0xff, 0xd8, 0xa9, 0x1f };
+static const unsigned char g_xrdpapi_magic[12] =
+{
+ 0x78, 0x32, 0x10, 0x67, 0x00, 0x92, 0x30, 0x56, 0xff, 0xd8, 0xa9, 0x1f
+};
/*
* Opens a handle to the server end of a specified virtual channel - this