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
This commit is contained in:
parent
a829bfe882
commit
9ab216023c
|
@ -5,7 +5,7 @@ void *memcpy(void *vdest, const void *vsrc, size_t bytes)
|
|||
char *dest = vdest;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < bytes; i++)
|
||||
for (i = 0; i < (int)bytes; i++)
|
||||
dest[i] = src[i];
|
||||
|
||||
return vdest;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue