diff options
Diffstat (limited to 'firmware/common/memset16.c')
-rwxr-xr-x | firmware/common/memset16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/memset16.c b/firmware/common/memset16.c index 0aee97a169..bc187a5d25 100755 --- a/firmware/common/memset16.c +++ b/firmware/common/memset16.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <string.h> | 20 | #include <string.h> |
21 | #define LBLOCKSIZE (sizeof(long)/2) | 21 | #define LBLOCKSIZE (sizeof(long)/2) |
22 | #define UNALIGNED(X) ((long)X & (LBLOCKSIZE - 1)) | 22 | #define UNALIGNED(X) ((long)X & (sizeof(long) - 1)) |
23 | #define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE) | 23 | #define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE) |
24 | 24 | ||
25 | void *memset16(void *dst, int val, size_t len) | 25 | void *memset16(void *dst, int val, size_t len) |