svn commit: r198461 - projects/sbruno_firewire/sys/dev/firewire

Sean Bruno sbruno at FreeBSD.org
Sun Oct 25 01:10:41 UTC 2009


Author: sbruno
Date: Sun Oct 25 01:10:40 2009
New Revision: 198461
URL: http://svn.freebsd.org/changeset/base/198461

Log:
  Fix compiler warning on 32bit

Modified:
  projects/sbruno_firewire/sys/dev/firewire/sbp_targ.c

Modified: projects/sbruno_firewire/sys/dev/firewire/sbp_targ.c
==============================================================================
--- projects/sbruno_firewire/sys/dev/firewire/sbp_targ.c	Sun Oct 25 01:10:29 2009	(r198460)
+++ projects/sbruno_firewire/sys/dev/firewire/sbp_targ.c	Sun Oct 25 01:10:40 2009	(r198461)
@@ -2224,7 +2224,7 @@ sbp_targ_recv(struct fw_xfer *xfer)
 	if (fwdev == NULL) {
 		getmicrotime(&tv);
 		printf("(%ld)(%ld) %s: cannot resolve nodeid=%d\n",
-		    tv.tv_sec, tv.tv_usec,__func__, fp->mode.wreqb.src & 0x3f);
+		    (long)tv.tv_sec, tv.tv_usec,__func__, fp->mode.wreqb.src & 0x3f);
 		rtcode = RESP_TYPE_ERROR; /* XXX */
 	} else {
 		lo = fp->mode.wreqb.dest_lo;


More information about the svn-src-projects mailing list