diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/dir_uncached.c | 2 | ||||
-rw-r--r-- | firmware/common/memset16.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dir_uncached.c b/firmware/common/dir_uncached.c index 5ec5c7fb41..2052503c43 100644 --- a/firmware/common/dir_uncached.c +++ b/firmware/common/dir_uncached.c | |||
@@ -175,7 +175,7 @@ struct dirent_uncached* readdir_uncached(DIR_UNCACHED* dir) | |||
175 | return NULL; | 175 | return NULL; |
176 | 176 | ||
177 | if ( !entry.name[0] ) | 177 | if ( !entry.name[0] ) |
178 | return NULL; | 178 | return NULL; |
179 | 179 | ||
180 | strlcpy(theent->d_name, entry.name, sizeof(theent->d_name)); | 180 | strlcpy(theent->d_name, entry.name, sizeof(theent->d_name)); |
181 | theent->attribute = entry.attr; | 181 | theent->attribute = entry.attr; |
diff --git a/firmware/common/memset16.c b/firmware/common/memset16.c index d73fdd9701..c90e2d7340 100644 --- a/firmware/common/memset16.c +++ b/firmware/common/memset16.c | |||
@@ -52,7 +52,7 @@ void memset16(void *dst, int val, size_t len) | |||
52 | { | 52 | { |
53 | buffer = 0; | 53 | buffer = 0; |
54 | for (i = 0; i < LBLOCKSIZE; i++) | 54 | for (i = 0; i < LBLOCKSIZE; i++) |
55 | buffer = (buffer << 16) | val; | 55 | buffer = (buffer << 16) | val; |
56 | } | 56 | } |
57 | 57 | ||
58 | while (len >= LBLOCKSIZE*4) | 58 | while (len >= LBLOCKSIZE*4) |