From fda632ae0b0596c9e1f184227b02b573aefd4a4a Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 27 Aug 2012 20:38:37 +0000 Subject: [PATCH] iscsi-scst: Eliminate a cast Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4479 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/nthread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index 726bd9445..ef6aecf55 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -1348,9 +1348,9 @@ retry: (struct iovec __force __user *)iop, count, &off); set_fs(oldfs); - TRACE_WRITE("sid %#Lx, cid %u, res %d, iov_len %ld", + TRACE_WRITE("sid %#Lx, cid %u, res %d, iov_len %zd", (long long unsigned int)conn->session->sid, - conn->cid, res, (long)iop->iov_len); + conn->cid, res, iop->iov_len); if (unlikely(res <= 0)) { if (res == -EAGAIN) { conn->write_iop = iop;