diff options
Diffstat (limited to 'src/lib/memset.c')
-rw-r--r-- | src/lib/memset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/memset.c b/src/lib/memset.c index c1bb4f841f..bac3305590 100644 --- a/src/lib/memset.c +++ b/src/lib/memset.c @@ -5,7 +5,7 @@ void *memset(void *s, int c, size_t n) int i; char *ss = (char *) s; - for (i = 0; i < n; i++) + for (i = 0; i < (int)n; i++) ss[i] = c; return s; |