Typo ! & 3, not & ~3.
authorJeremy Allison <jra@samba.org>
Tue, 11 Apr 2000 23:45:22 +0000 (23:45 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 11 Apr 2000 23:45:22 +0000 (23:45 +0000)
Jeremy.

source/include/byteorder.h

index a73d709f9d7b76f0ae8ff1c758e274a235d41ac9..5a45e9a012feb5d4190ac394ec5cc8192e1df7e1 100644 (file)
@@ -268,7 +268,7 @@ it also defines lots of intermediate macros, just ignore those :-)
              tab_depth(depth), base, string, outbuf)); }
 
 /* Alignment macros. */
-#define ALIGN4(p,base) ((p) + ((4 - (PTR_DIFF((p), (base)) % 4)) & ~3))
-#define ALIGN2(p,base) ((p) + ((2 - (PTR_DIFF((p), (base)) % 2)) & ~1))
+#define ALIGN4(p,base) ((p) + ((4 - (PTR_DIFF((p), (base)) % 4)) & 3))
+#define ALIGN2(p,base) ((p) + ((2 - (PTR_DIFF((p), (base)) % 2)) & 1))
 
 #endif /* _BYTEORDER_H */