projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b5edb
)
Sense of POINTERS_ARE_ALL_THE_SAME test was backwards
author
Ken Raeburn
<raeburn@mit.edu>
Thu, 3 Dec 2009 02:17:20 +0000
(
02:17
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Thu, 3 Dec 2009 02:17:20 +0000
(
02:17
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23438
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/asn.1/asn1_encode.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/asn.1/asn1_encode.c
b/src/lib/krb5/asn.1/asn1_encode.c
index b73e769db00569672a0840dad576fd2488e7efa3..a328306532cf447377ff0568e8b1bf8aea7f47ec 100644
(file)
--- a/
src/lib/krb5/asn.1/asn1_encode.c
+++ b/
src/lib/krb5/asn.1/asn1_encode.c
@@
-325,11
+325,11
@@
asn1_encode_opaque(asn1buf *buf, unsigned int len, const void *val,
*/
#ifdef POINTERS_ARE_ALL_THE_SAME
-#define LOADPTR(PTR,TYPE) \
- (assert((TYPE)->loadptr != NULL), (TYPE)->loadptr(PTR))
-#else
#define LOADPTR(PTR,TYPE) \
(*(const void *const *)(PTR))
+#else
+#define LOADPTR(PTR,TYPE) \
+ (assert((TYPE)->loadptr != NULL), (TYPE)->loadptr(PTR))
#endif
static int