DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: size_t/ssize_t - change to [unsigned] long


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Aug 2009 21:07:55 -0700 (PDT)

commit 1e8087d481c6bfecf14ce6eddc5c722031742332
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Aug 18 19:56:17 2009 -0700

    size_t/ssize_t - change to [unsigned] long
    
    * change size_t from unsigned int to unsigned long, and change ssize_t
      from int to long for both 32 and 64 bit builds.
    
      NOTE: This may not last for 32 bit builds, depending on what it breaks
      in pkgsrc land, but the change makes it easier to detect 32/64 bit
      issues with size_t, sizeof, and pointer arithmatic on 32 bit machines.

Summary of changes:
 gnu/lib/gcc41/libstdc++/config.h                 |    2 +-
 gnu/lib/gcc44/libstdc++/config.h                 |    2 +-
 gnu/usr.bin/cc34/cc_prep/config/i386/dragonfly.h |    4 ++--
 gnu/usr.bin/cc41/cc_prep/config/i386/dragonfly.h |    4 ++--
 gnu/usr.bin/cc44/cc_prep/config/i386/dragonfly.h |    4 ++--
 sys/cpu/amd64/include/stdint.h                   |    7 +++----
 sys/cpu/i386/include/stdint.h                    |    5 +++--
 7 files changed, 14 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e8087d481c6bfecf14ce6eddc5c722031742332


-- 
DragonFly BSD source repository



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