]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: AFS_PTR_FMT is just 'p'
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 20 Oct 2009 16:32:22 +0000 (12:32 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Tue, 20 Oct 2009 19:18:46 +0000 (12:18 -0700)
The printf format specification for a pointer of any size is
just 'p'.  The 'I' is only to be used for [duox].

Reviewed-on: http://gerrit.openafs.org/690
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/config/stds.h

index 6dfee1278074b113f30704da6291d89bb73da80a..300d83390ebef2e27de4e47335db3aef946a40fd 100644 (file)
@@ -284,7 +284,7 @@ typedef struct afsUUID afsUUID;
 #ifdef AFS_NT40_ENV
 # define AFS_INT64_FMT "I64d"
 # define AFS_UINT64_FMT "I64u"
-# define AFS_PTR_FMT   "Ip"
+# define AFS_PTR_FMT   "p"
 # define AFS_SIZET_FMT "Iu"
 #else
 # define AFS_INT64_FMT "lld"