diff options
Diffstat (limited to 'sysdeps/i386/i586/strchr.S')
-rw-r--r-- | sysdeps/i386/i586/strchr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i586/strchr.S b/sysdeps/i386/i586/strchr.S index 982c80ec9a..30de6b069d 100644 --- a/sysdeps/i386/i586/strchr.S +++ b/sysdeps/i386/i586/strchr.S @@ -74,7 +74,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ @@ -87,7 +87,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ @@ -100,7 +100,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ |