From owner-svn-src-head@FreeBSD.ORG Sun Jan 18 15:10:47 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26EA21065676; Sun, 18 Jan 2009 15:10:47 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 14E8A8FC1D; Sun, 18 Jan 2009 15:10:47 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0IFAkrr077404; Sun, 18 Jan 2009 15:10:46 GMT (envelope-from stas@svn.freebsd.org) Received: (from stas@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0IFAkbt077403; Sun, 18 Jan 2009 15:10:46 GMT (envelope-from stas@svn.freebsd.org) Message-Id: <200901181510.n0IFAkbt077403@svn.freebsd.org> From: Stanislav Sedov Date: Sun, 18 Jan 2009 15:10:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187397 - head/sys/gnu/fs/ext2fs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 15:10:48 -0000 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;