Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys PR/44847: Jukka Ruohonen: blksize_t should be signed.



details:   https://anonhg.NetBSD.org/src/rev/92a8e92d3364
branches:  trunk
changeset: 778144:92a8e92d3364
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 17 21:30:29 2012 +0000

description:
PR/44847: Jukka Ruohonen: blksize_t should be signed.
http://pubs.opengroup.org/onlinepubs/000095399/basedefs/sys/types.h.html

diffstat:

 sys/sys/types.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 65b454e9f9d3 -r 92a8e92d3364 sys/sys/types.h
--- a/sys/sys/types.h   Sat Mar 17 20:57:35 2012 +0000
+++ b/sys/sys/types.h   Sat Mar 17 21:30:29 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.88 2011/01/14 02:06:34 rmind Exp $ */
+/*     $NetBSD: types.h,v 1.89 2012/03/17 21:30:29 christos Exp $      */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -127,7 +127,7 @@
 typedef        uint64_t        u_longlong_t;   /* for XDR */
 
 typedef        int64_t         blkcnt_t;       /* fs block count */
-typedef        uint32_t        blksize_t;      /* fs optimal block size */
+typedef        int32_t         blksize_t;      /* fs optimal block size */
 
 #ifndef        fsblkcnt_t
 typedef        __fsblkcnt_t    fsblkcnt_t;     /* fs block count (statvfs) */



Home | Main Index | Thread Index | Old Index