summaryrefslogtreecommitdiff
path: root/src/lib/memset.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-01-20 21:40:16 +0000
committerStefan Reinauer <stepan@openbios.org>2009-01-20 21:40:16 +0000
commit9ab216023c18aad0df7f4b604bec19f4d31c412e (patch)
treee9b9915976e00f93e028e286dd1be337a7f282fe /src/lib/memset.c
parenta829bfe882df00810912189384145fbdda10529d (diff)
downloadcoreboot-9ab216023c18aad0df7f4b604bec19f4d31c412e.tar.xz
fix compiler warnings (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3882 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/memset.c')
-rw-r--r--src/lib/memset.c2
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;