[coreboot] r3882 - trunk/coreboot-v2/src/lib
svn at coreboot.org
svn at coreboot.org
Tue Jan 20 22:40:17 CET 2009
Author: stepan
Date: 2009-01-20 22:40:16 +0100 (Tue, 20 Jan 2009)
New Revision: 3882
Modified:
trunk/coreboot-v2/src/lib/memcpy.c
trunk/coreboot-v2/src/lib/memset.c
Log:
fix compiler warnings (trivial)
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/src/lib/memcpy.c
===================================================================
--- trunk/coreboot-v2/src/lib/memcpy.c 2009-01-20 21:38:17 UTC (rev 3881)
+++ trunk/coreboot-v2/src/lib/memcpy.c 2009-01-20 21:40:16 UTC (rev 3882)
@@ -5,7 +5,7 @@
char *dest = vdest;
int i;
- for (i = 0; i < bytes; i++)
+ for (i = 0; i < (int)bytes; i++)
dest[i] = src[i];
return vdest;
Modified: trunk/coreboot-v2/src/lib/memset.c
===================================================================
--- trunk/coreboot-v2/src/lib/memset.c 2009-01-20 21:38:17 UTC (rev 3881)
+++ trunk/coreboot-v2/src/lib/memset.c 2009-01-20 21:40:16 UTC (rev 3882)
@@ -5,7 +5,7 @@
int i;
char *ss = (char *) s;
- for (i = 0; i < n; i++)
+ for (i = 0; i < (int)n; i++)
ss[i] = c;
return s;
More information about the coreboot
mailing list