diff options
Diffstat (limited to 'sysdeps/x86_64/strcspn.S')
-rw-r--r-- | sysdeps/x86_64/strcspn.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/strcspn.S b/sysdeps/x86_64/strcspn.S index ff9fa531dc..65f8a9e96e 100644 --- a/sysdeps/x86_64/strcspn.S +++ b/sysdeps/x86_64/strcspn.S @@ -115,7 +115,7 @@ L(4): addq $256, %rsp /* remove skipset */ xorl %edx,%edx orb %cl, %cl /* was last character NUL? */ cmovzq %rdx, %rax /* Yes: return NULL */ -#else +#else subq %rdx, %rax /* we have to return the number of valid characters, so compute distance to first non-valid character */ |