summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-07 13:30:36 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-07 13:30:36 +0000
commit6b918cf54d57e8025582c07118b6496bee13afb1 (patch)
tree36edc2bdd88ad9a976d5a02ae446d613b2ef008a
parent5aacc8872c4a6dcb16a5f08a7b631f9238f63a4f (diff)
downloadrockbox-6b918cf54d57e8025582c07118b6496bee13afb1.tar.gz
rockbox-6b918cf54d57e8025582c07118b6496bee13afb1.zip
Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@912 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/common/memcpy.c2
-rw-r--r--firmware/common/memset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/memcpy.c b/firmware/common/memcpy.c
index 5336f25a91..e3806805b6 100644
--- a/firmware/common/memcpy.c
+++ b/firmware/common/memcpy.c
@@ -72,7 +72,7 @@ _DEFUN (memcpy, (dst0, src0, len0),
72 _CONST char *src = src0; 72 _CONST char *src = src0;
73 long *aligned_dst; 73 long *aligned_dst;
74 _CONST long *aligned_src; 74 _CONST long *aligned_src;
75 int len = len0; 75 unsigned int len = len0;
76 76
77 /* If the size is small, or either SRC or DST is unaligned, 77 /* If the size is small, or either SRC or DST is unaligned,
78 then punt into the byte copy loop. This should be rare. */ 78 then punt into the byte copy loop. This should be rare. */
diff --git a/firmware/common/memset.c b/firmware/common/memset.c
index a5890c8847..c370191cda 100644
--- a/firmware/common/memset.c
+++ b/firmware/common/memset.c
@@ -56,7 +56,7 @@ _DEFUN (memset, (m, c, n),
56 return m; 56 return m;
57#else 57#else
58 char *s = (char *) m; 58 char *s = (char *) m;
59 int i; 59 unsigned int i;
60 unsigned long buffer; 60 unsigned long buffer;
61 unsigned long *aligned_addr; 61 unsigned long *aligned_addr;
62 62