Revert "Fix another const mismatch warning"
This reverts commit 776230782b.
This commit is contained in:
parent
4b5dab2d18
commit
52a5e4125e
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ bool ts_external_scanner_state_eq(const ExternalScannerState *a, const ExternalS
|
|||
// SubtreeArray
|
||||
|
||||
bool ts_subtree_array_copy(SubtreeArray self, SubtreeArray *dest) {
|
||||
Subtree **contents = NULL;
|
||||
const Subtree **contents = NULL;
|
||||
if (self.capacity > 0) {
|
||||
contents = ts_calloc(self.capacity, sizeof(Subtree *));
|
||||
memcpy(contents, self.contents, self.size * sizeof(Subtree *));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue