From 37fc3b01445cd6446f09c476ea2db47fea544b7d Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 20 Mar 2009 17:09:01 +0000 Subject: [PATCH] config-afs-ptr-format-20090320 LICENSE IPL10 Define AFS_PTR_FMT to permit per platform printf formats for pointer representation. --- src/config/stds.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/stds.h b/src/config/stds.h index 4ed7ad9bf..3d5dfa6a9 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 -- 2.39.5