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 a80360d commit 1607207Copy full SHA for 1607207
ext/standard/crc32.c
@@ -63,7 +63,7 @@ static inline int has_crc32_insn() {
63
# pragma GCC push_options
64
# pragma GCC target ("+nothing+crc")
65
# endif
66
-static uint32_t crc32_aarch64(uint32_t crc, char *p, size_t nr) {
+static uint32_t crc32_aarch64(uint32_t crc, const char *p, size_t nr) {
67
while (nr >= sizeof(uint64_t)) {
68
crc = __crc32d(crc, *(uint64_t *)p);
69
p += sizeof(uint64_t);
0 commit comments