Use const unsigned for hex arrays
Some constants are too big for the signed type.
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user