summaryrefslogtreecommitdiffstats
path: root/xup
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2016-05-03 00:52:58 -0700
committerjsorg71 <jay.sorg@gmail.com>2016-05-03 00:52:58 -0700
commitfdb146740f2e544008e90214854b7a4aa2472e84 (patch)
tree1c32b747c475f243e7db6f860d8316690def91b1 /xup
parentfac0907a3c1bb5dba89ca77d8f3686ed07083bb3 (diff)
parent70f3d4c5e23ab53bf82bc5e2029001896bf3823e (diff)
downloadxrdp-proprietary-fdb146740f2e544008e90214854b7a4aa2472e84.tar.gz
xrdp-proprietary-fdb146740f2e544008e90214854b7a4aa2472e84.zip
Merge pull request #360 from proski/format-warnings
Warning fixes
Diffstat (limited to 'xup')
-rw-r--r--xup/xup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 8e904d52..c93fa799 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -212,7 +212,7 @@ lib_mod_connect(struct mod *mod)
if (trans_connect(mod->trans, mod->ip, con_port, 3000) == 0)
{
LLOGLN(0, ("lib_mod_connect: connected to Xserver "
- "(Xorg or X11rdp) sck %d", mod->trans->sck));
+ "(Xorg or X11rdp) sck %ld", mod->trans->sck));
error = 0;
}
@@ -1151,10 +1151,6 @@ process_server_paint_rect_shmem_ex(struct mod *amod, struct stream *s)
int shmem_offset;
int width;
int height;
- int x;
- int y;
- int cx;
- int cy;
int index;
int rv;
tsi16 *ldrects;