summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /lib/string.c
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'lib/string.c')
-rw-r--r--lib/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/string.c b/lib/string.c
index 035667035..71d65325b 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -256,12 +256,12 @@ char * strsep(char **s, const char * ct)
#endif
#ifndef __HAVE_ARCH_MEMSET
-void * memset(void * s, int c, size_t count)
+void * memset(void * s,char c, size_t count)
{
char *xs = (char *) s;
while (count--)
- *xs++ = (char) c;
+ *xs++ = c;
return s;
}