summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/chansrv')
-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);