git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
18da64a
)
config-afs-ptr-format-20090320
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Fri, 20 Mar 2009 17:09:01 +0000 (17:09 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Fri, 20 Mar 2009 17:09:01 +0000 (17:09 +0000)
LICENSE IPL10
Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.
src/config/stds.h
patch
|
blob
|
history
diff --git
a/src/config/stds.h
b/src/config/stds.h
index
4ed7ad9
..
3d5dfa6
100644
(file)
--- 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