Permalink
Browse files

Macros ULONG_ONEZERO / ULONG_ZEROONE were inverted in #ifdef to test …

…32/64 bit arch.
  • Loading branch information...
1 parent e2c0197 commit d8769edf15c3a9a908e54f273cdb100563fc14c2 @antirez committed Apr 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/memtest.c
View
@@ -16,11 +16,11 @@
#endif
#ifdef MEMTEST_32BIT
-#define ULONG_ONEZERO 0xaaaaaaaaaaaaaaaaUL
-#define ULONG_ZEROONE 0x5555555555555555UL
-#else
#define ULONG_ONEZERO 0xaaaaaaaaUL
#define ULONG_ZEROONE 0x55555555UL
+#else
+#define ULONG_ONEZERO 0xaaaaaaaaaaaaaaaaUL
+#define ULONG_ZEROONE 0x5555555555555555UL
#endif
static struct winsize ws;

0 comments on commit d8769ed

Please sign in to comment.