On Thu, Oct 25, 2012 at 09:08:03PM +0000, Davide Italiano wrote:
> Author: davide
> Date: Thu Oct 25 21:08:02 2012
> New Revision: 242097
> URL: http://svn.freebsd.org/changeset/base/242097
> 
> Log:
>   Fix build in case we have SMBVDEBUG turned on.
[...]
> -     SMBVDEBUG("ofs=%d,resid=%d\n",(int)uiop->uio_offset, uiop->uio_resid);
> +     SMBVDEBUG("ofs=%d,resid=%zd\n",(int)uiop->uio_offset, uiop->uio_resid);

While you are here, you may want to change the code to use %jd for
uio_offset and cast it to (intmax_t).

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

Attachment: pgpW9dqAEhEBN.pgp
Description: PGP signature

Reply via email to