svn rev #23438: trunk/src/lib/krb5/asn.1/
raeburn@MIT.EDU
raeburn at MIT.EDU
Wed Dec 2 21:17:21 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23438
Commit By: raeburn
Log Message:
Sense of POINTERS_ARE_ALL_THE_SAME test was backwards.
Changed Files:
U trunk/src/lib/krb5/asn.1/asn1_encode.c
Modified: trunk/src/lib/krb5/asn.1/asn1_encode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_encode.c 2009-12-03 02:17:16 UTC (rev 23437)
+++ trunk/src/lib/krb5/asn.1/asn1_encode.c 2009-12-03 02:17:20 UTC (rev 23438)
@@ -325,11 +325,11 @@
*/
#ifdef POINTERS_ARE_ALL_THE_SAME
+#define LOADPTR(PTR,TYPE) \
+ (*(const void *const *)(PTR))
+#else
#define LOADPTR(PTR,TYPE) \
(assert((TYPE)->loadptr != NULL), (TYPE)->loadptr(PTR))
-#else
-#define LOADPTR(PTR,TYPE) \
- (*(const void *const *)(PTR))
#endif
static int
More information about the cvs-krb5
mailing list