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

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 18 21:09:01 PDT 2009


commit 1e8087d481c6bfecf14ce6eddc5c722031742332
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list