aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-31 13:20:26 +0000
committerlloyd <[email protected]>2009-07-31 13:20:26 +0000
commitc869ccb9cc4c314ffe276f1a04c5b091e692a41f (patch)
tree19f5da59e4ed09b0c5deb145b6025fcc718468a1 /src
parent23df3a0101e828b510337d0baa5124b751e6256e (diff)
A typo in a macro check in bswap.h meant inline asm bswap was not
used on Visual C++
Diffstat (limited to 'src')
-rw-r--r--src/utils/bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/bswap.h b/src/utils/bswap.h
index af51e4e47..7b7edb528 100644
--- a/src/utils/bswap.h
+++ b/src/utils/bswap.h
@@ -31,7 +31,7 @@ inline u32bit reverse_bytes(u32bit input)
asm("bswapl %0" : "=r" (input) : "0" (input));
return input;
-#elif defined(_MSC_VER) && defined(BOTAN_TARGER_ARCH_IS_IA32)
+#elif defined(_MSC_VER) && defined(BOTAN_TARGET_ARCH_IS_IA32)
/* Visual C++ inline asm for 32-bit x86, by Yves Jerschow */
__asm mov eax, x;
__asm bswap eax;