Skip to content
Commit 8051274d authored by Ambroise Vincent's avatar Ambroise Vincent
Browse files

libc: fix memchr implementation



The previous implementation could behave incorrectly because of the sign
extension of the char when compared to the int.

Change-Id: Id1e40ca9cfb1c271cb391e26698862726b833c8b
Signed-off-by: Ambroise Vincent's avatarAmbroise Vincent <ambroise.vincent@arm.com>
parent 11c53c86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment