We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd11359 commit 73fe72cCopy full SHA for 73fe72c
src/lib/string.c
@@ -17,7 +17,7 @@ void* memcpy(void* dst, const void* src, size_t count)
17
if (i + (WORD_SIZE - 1) > count - 1) {
18
break;
19
}
20
- *(unsigned long*)dst_tmp = *(unsigned long*)src_tmp;
+ *(unsigned long*)dst_tmp = *(const unsigned long*)src_tmp;
21
dst_tmp += WORD_SIZE;
22
src_tmp += WORD_SIZE;
23
0 commit comments