From: Jeffrey Altman Date: Fri, 20 Mar 2009 17:09:01 +0000 (+0000) Subject: config-afs-ptr-format-20090320 X-Git-Tag: openafs-devel-1_5_61~420 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=37fc3b01445cd6446f09c476ea2db47fea544b7d config-afs-ptr-format-20090320 LICENSE IPL10 Define AFS_PTR_FMT to permit per platform printf formats for pointer representation. --- diff --git a/src/config/stds.h b/src/config/stds.h index 4ed7ad9..3d5dfa6 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -281,8 +281,10 @@ typedef struct afsUUID afsUUID; */ #ifdef AFS_NT40_ENV #define AFS_INT64_FMT "l64d" +#define AFS_PTR_FMT "p" #else #define AFS_INT64_FMT "lld" +#define AFS_PTR_FMT "x" #endif /* Functions to safely cast afs_int32 and afs_uint32 so they can be used in