Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Jan 10, 2022
1 parent df5e627 commit 0c4403b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xs/sources/xsDataView.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,10 @@ void fx_ArrayBuffer_prototype_concat(txMachine* the)
slot = mxArgv(i);
if (slot->kind == XS_REFERENCE_KIND) {
slot = slot->value.reference->next;
if (slot && (slot->kind == XS_ARRAY_BUFFER_KIND))
if (slot && (slot->kind == XS_ARRAY_BUFFER_KIND)) {
arrayBuffer = slot;
bufferInfo = slot->next;
}
}
if (arrayBuffer)
length = fxAddChunkSizes(the, length, bufferInfo->value.bufferInfo.length);
Expand Down

0 comments on commit 0c4403b

Please sign in to comment.