OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_64-24-gd7b00d5
Gerrit Code Review
gerrit@openafs.org
Mon, 28 Sep 2009 02:41:10 -0700 (PDT)
The following commit has been merged in the master branch:
commit d7b00d5f19e7dfd7d8ee3d600d0184e4364fa7be
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Fri Aug 28 17:03:44 2009 -0400
Use intptr_t and uintptr_t for integer/pointer conversions
Use intptr_t and uintptr_t casts to appease the compiler when
values are converted between 32-bit integers and pointers.
This generates many warnings (currently ~170 on linux amd64)
when pointers are 64-bit.
These types are normally defined in stdint.h, and get defined
by autoconf if that's not the case.
In a few places, NULL is simply replaced with 0 where compared
with an integer.
Reviewed-on: http://gerrit.openafs.org/474
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4 | 2 ++
src/afs/UKERNEL/afs_usrops.c | 2 +-
src/afs/UKERNEL/osi_vfsops.c | 4 ++--
src/afs/afs_lock.c | 6 +++---
src/afsd/vsys.c | 2 +-
src/afsmonitor/afsmonitor.c | 2 +-
src/bozo/bnode.c | 4 ++--
src/bozo/bosoprocs.c | 2 +-
src/bucoord/dump.c | 6 +++---
src/budb/dbs_dump.c | 6 +++---
src/butc/dump.c | 2 +-
src/butc/lwps.c | 4 ++--
src/butc/recoverDb.c | 2 +-
src/butc/tcprocs.c | 4 ++--
src/butc/tcudbprocs.c | 6 +++---
src/butm/file_tm.c | 4 ++--
src/dir/salvage.c | 12 ++++++------
src/gtx/frame.c | 5 +++--
src/gtx/gtxtest.c | 5 +++--
src/lwp/lwp.c | 5 +++--
src/ptserver/ptprocs.c | 4 ++--
src/ptserver/ptutils.c | 12 ++++++------
src/rx/rx.c | 2 +-
src/rx/rx_pthread.c | 8 ++++----
src/rxkad/rxkad_server.c | 2 +-
src/scout/scout.c | 2 +-
src/ubik/ubikclient.c | 4 ++--
src/usd/usd_file.c | 12 ++++++------
src/util/serverLog.c | 10 +++++-----
src/viced/viced.c | 4 ++--
src/vlserver/vlserver.c | 4 ++--
src/vol/fssync-debug.c | 2 +-
src/vol/fssync-server.c | 2 +-
src/vol/vnode.c | 24 ++++++++++++------------
src/volser/volmain.c | 2 +-
src/volser/vos.c | 8 ++++----
36 files changed, 96 insertions(+), 91 deletions(-)
--
OpenAFS Master Repository