diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/memcpy.c | 2 | ||||
-rw-r--r-- | firmware/common/memset.c | 2 |
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 | ||