diff options
Diffstat (limited to 'lib/sbi/sbi_string.c')
-rw-r--r-- | lib/sbi/sbi_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbi/sbi_string.c b/lib/sbi/sbi_string.c index c87bce9..c163f31 100644 --- a/lib/sbi/sbi_string.c +++ b/lib/sbi/sbi_string.c @@ -149,8 +149,8 @@ void *sbi_memmove(void *dest, const void *src, size_t count) count--; } } else { - temp1 = dest + count - 1; - temp2 = src + count - 1; + temp1 = (char *)dest + count - 1; + temp2 = (char *)src + count - 1; while (count > 0) { *temp1-- = *temp2--; |