summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rdp/rdp_orders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdp/rdp_orders.c b/rdp/rdp_orders.c
index 2c5e8987..4782185f 100644
--- a/rdp/rdp_orders.c
+++ b/rdp/rdp_orders.c
@@ -108,11 +108,11 @@ rdp_orders_in_present(struct stream* s, int* present,
static void APP_CC
rdp_orders_in_coord(struct stream* s, int* coord, int delta)
{
- signed char change;
+ int change;
if (delta)
{
- in_uint8(s, change);
+ in_sint8(s, change);
*coord += change;
}
else