projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(re_match_2_internal): Declare buf_ch unsigned int.
[gnulib.git]
/
lib
/
strndup.c
diff --git
a/lib/strndup.c
b/lib/strndup.c
index
f4b1f7a
..
b610e40
100644
(file)
--- a/
lib/strndup.c
+++ b/
lib/strndup.c
@@
-43,5
+43,5
@@
strndup (s, n)
return NULL;
new[n] = '\0';
- return memcpy (new, s, n);
+ return
(char *)
memcpy (new, s, n);
}