We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ed2afa commit 7db4a1cCopy full SHA for 7db4a1c
src/generic/number.h
@@ -86,7 +86,6 @@ static really_inline int32_t parse_int8(
86
uint8_t number;
87
if (!scan_int8(token->data, token->length, &number))
88
SYNTAX_ERROR(parser, "Invalid %s in %s", NAME(field), NAME(type));
89
- memcpy(rdata->octets, &number, 1);
90
*rdata->octets++ = number;
91
return 0;
92
}
0 commit comments