Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/common off_t -> uint64_t to hopefully avoid some lp...



details:   https://anonhg.NetBSD.org/src/rev/d0a32b30a97e
branches:  trunk
changeset: 756346:d0a32b30a97e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jul 13 17:49:24 2010 +0000

description:
off_t -> uint64_t to hopefully avoid some lp64 signedness whines.

diffstat:

 tests/fs/common/puffs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c4101d35a8e2 -r d0a32b30a97e tests/fs/common/puffs.c
--- a/tests/fs/common/puffs.c   Tue Jul 13 16:48:15 2010 +0000
+++ b/tests/fs/common/puffs.c   Tue Jul 13 17:49:24 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs.c,v 1.1 2010/07/13 16:48:15 pooka Exp $  */
+/*     $NetBSD: puffs.c,v 1.2 2010/07/13 17:49:24 pooka Exp $  */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -162,7 +162,7 @@
        phdr = (struct putter_hdr *)buf;
 
        for (;;) {
-               off_t off;
+               uint64_t off;
                ssize_t n;
 
                /*



Home | Main Index | Thread Index | Old Index