summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/devredir.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2017-01-26 00:27:44 -0800
committerjsorg71 <jay.sorg@gmail.com>2017-01-29 23:14:33 -0800
commitb5029c25967188d1ae2c7f6f774ddf467078c71b (patch)
treee32d323e1b9f7b43ae840efbdeb3ac091d6504b4 /sesman/chansrv/devredir.c
parent3b84314a1a76ca91556f833482a976de22afa155 (diff)
downloadxrdp-proprietary-b5029c25967188d1ae2c7f6f774ddf467078c71b.tar.gz
xrdp-proprietary-b5029c25967188d1ae2c7f6f774ddf467078c71b.zip
sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bit
Diffstat (limited to 'sesman/chansrv/devredir.c')
-rw-r--r--sesman/chansrv/devredir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c
index 437b97d9..3be069c8 100644
--- a/sesman/chansrv/devredir.c
+++ b/sesman/chansrv/devredir.c
@@ -1265,8 +1265,8 @@ dev_redir_file_write(void *fusep, tui32 DeviceId, tui32 FileId,
IRP *new_irp;
int bytes;
- log_debug("DeviceId=%d FileId=%d Length=%d Offset=%lld",
- DeviceId, FileId, Length, Offset);
+ log_debug("DeviceId=%d FileId=%d Length=%d Offset=%d",
+ DeviceId, FileId, Length, (int)Offset);
xstream_new(s, 1024 + Length);