Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
b73d296d
Commit
b73d296d
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "libc: fix memchr implementation" into integration
parents
f56734fe
294062fa
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/libc/memchr.c
+2
-2
lib/libc/memchr.c
with
2 additions
and
2 deletions
+2
-2
lib/libc/memchr.c
View file @
b73d296d
...
...
@@ -9,10 +9,10 @@
void
*
memchr
(
const
void
*
src
,
int
c
,
size_t
len
)
{
const
char
*
s
=
src
;
const
unsigned
char
*
s
=
src
;
while
(
len
--
)
{
if
(
*
s
==
c
)
if
(
*
s
==
(
unsigned
char
)
c
)
return
(
void
*
)
s
;
s
++
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help