more changes from Boudewijn

svn path=/trunk/; revision=209
This commit is contained in:
Rex Jolliff 1999-02-05 19:36:21 +00:00
parent 3aed7d1da4
commit 55d6c152b6

View file

@ -2,9 +2,11 @@ typedef int size_t;
void * memset(void *src,int val,size_t count) void * memset(void *src,int val,size_t count)
{ {
int *int_src = src; char *char_src = src;
while(count>0) { while(count>0) {
*int_src = val; *char_src = val;
char_src++;
count--; count--;
} }
return src; return src;