diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-01-20 21:40:16 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-01-20 21:40:16 +0000 |
commit | 9ab216023c18aad0df7f4b604bec19f4d31c412e (patch) | |
tree | e9b9915976e00f93e028e286dd1be337a7f282fe /src/lib/memcpy.c | |
parent | a829bfe882df00810912189384145fbdda10529d (diff) |
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/memcpy.c')
-rw-r--r-- | src/lib/memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/memcpy.c b/src/lib/memcpy.c index 16db67766d..1053a531c8 100644 --- a/src/lib/memcpy.c +++ b/src/lib/memcpy.c @@ -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; |