From b5029c25967188d1ae2c7f6f774ddf467078c71b Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 26 Jan 2017 00:27:44 -0800 Subject: sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bit --- sesman/chansrv/devredir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sesman/chansrv/devredir.c') 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); -- cgit v1.2.1