Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TianlongLiang committed Jan 20, 2025
1 parent f622630 commit 44df601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/iwasm/interpreter/wasm_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -4719,7 +4719,7 @@ check_data_count_consistency(bool has_datacount_section, int datacount_len,
int data_seg_len, char *error_buf,
uint32 error_buf_size)
{
if (has_datacount_section && data_seg_len != data_seg_len) {
if (has_datacount_section && datacount_len != data_seg_len) {
set_error_buf(error_buf, error_buf_size,
"data count and data section have inconsistent lengths");
return false;
Expand Down

0 comments on commit 44df601

Please sign in to comment.