projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb3ad3
)
Fixed sign-compare warnings
author
Armin Novak
<armin.novak@thincast.com>
Thu, 7 Feb 2019 13:33:39 +0000
(14:33 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 5 Apr 2019 07:13:24 +0000
(09:13 +0200)
channels/encomsp/server/encomsp_main.c
patch
|
blob
|
history
diff --git
a/channels/encomsp/server/encomsp_main.c
b/channels/encomsp/server/encomsp_main.c
index
e1b2248
..
0d3e3e7
100644
(file)
--- a/
channels/encomsp/server/encomsp_main.c
+++ b/
channels/encomsp/server/encomsp_main.c
@@
-110,7
+110,7
@@
static UINT encomsp_recv_change_participant_control_level_pdu(
if ((beg + header->Length) > end)
{
- if (Stream_GetRemainingLength(s) < ((beg + header->Length) - end))
+ if (Stream_GetRemainingLength(s) < (
size_t)(
(beg + header->Length) - end))
{
WLog_ERR(TAG, "Not enough data!");
return ERROR_INVALID_DATA;