Git
Wiki
Site
projects
/
soft
/
lpc122x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70f109
)
shut up a warning at -Wextra level by using the right type for an index variable...
author
David Odin
<david@forma3dev.fr>
Wed, 19 Apr 2017 16:10:34 +0000
(18:10 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000
(17:03 +0100)
lib/string.c
patch
|
blob
|
history
diff --git
a/lib/string.c
b/lib/string.c
index
ee69e32
..
8d4623b
100644
(file)
--- a/
lib/string.c
+++ b/
lib/string.c
@@
-59,7
+59,7
@@
void* memset(void* s, int c, size_t count)
unsigned long* sl = (unsigned long*) s;
unsigned long cl = 0;
char* s8;
-
in
t i;
+
size_
t i;
/* do it one word at a time (32 bits or 64 bits) while possible */
if ( ((uint32_t)s & (sizeof(*sl) - 1)) == 0) {
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !