diff options
Diffstat (limited to 'src/utils/bswap.h')
-rw-r--r-- | src/utils/bswap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/bswap.h b/src/utils/bswap.h index af51e4e47..08095b319 100644 --- a/src/utils/bswap.h +++ b/src/utils/bswap.h @@ -31,9 +31,9 @@ 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 mov eax, input; __asm bswap eax; #else |