Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 15:10:46 +0000 (UTC)
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187397 - head/sys/gnu/fs/ext2fs
Message-ID:  <200901181510.n0IFAkbt077403@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stas
Date: Sun Jan 18 15:10:46 2009
New Revision: 187397
URL: http://svn.freebsd.org/changeset/base/187397

Log:
  - Eliminate warnings in debug print macros by explicitly converting all
    field to unsigned long.

Modified:
  head/sys/gnu/fs/ext2fs/ext2_vfsops.c

Modified: head/sys/gnu/fs/ext2fs/ext2_vfsops.c
==============================================================================
--- head/sys/gnu/fs/ext2fs/ext2_vfsops.c	Sun Jan 18 14:54:46 2009	(r187396)
+++ head/sys/gnu/fs/ext2fs/ext2_vfsops.c	Sun Jan 18 15:10:46 2009	(r187397)
@@ -400,7 +400,7 @@ static int compute_sb_data(devvp, es, fs
 #if 1
 #define V(v)
 #else
-#define V(v)  printf(#v"= %d\n", fs->v);
+#define V(v)  printf(#v"= %lu\n", (unsigned long)fs->v);
 #endif
 
     fs->s_blocksize = EXT2_MIN_BLOCK_SIZE << es->s_log_block_size;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901181510.n0IFAkbt077403>