From: Jeffrey Altman Date: Tue, 20 Oct 2009 16:32:22 +0000 (-0400) Subject: Windows: AFS_PTR_FMT is just 'p' X-Git-Tag: openafs-devel-1_5_66~34 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c188acf396487be4b902549c215e3da5cda615ce;p=packages%2Fo%2Fopenafs.git Windows: AFS_PTR_FMT is just 'p' 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 Tested-by: Jeffrey Altman --- diff --git a/src/config/stds.h b/src/config/stds.h index 6dfee1278..300d83390 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -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"