aboutsummaryrefslogtreecommitdiff
path: root/src/wincrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wincrt.c')
-rw-r--r--src/wincrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wincrt.c b/src/wincrt.c
index d8111ba..566b272 100644
--- a/src/wincrt.c
+++ b/src/wincrt.c
@@ -14,7 +14,7 @@ int memcmp(const void *restrict x, const void *restrict y, unsigned int sz) {
#if defined(__GNUC__) || defined(__clang__)
int a, b;
__asm__ volatile (
- "xor %%eax, %%eax\n"
+ "xor eax, eax\n"
"repz cmpsb\n"
: "+D" (x), "+S" (y), "+c" (sz), "=@cca"(a), "=@ccb"(b)
: