Skip to content

Commit

Permalink
wasm: correct type mismatch
Browse files Browse the repository at this point in the history
use typedefs
  • Loading branch information
jmalak committed Feb 24, 2024
1 parent 2b74ff6 commit 99d68f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bld/wasm/c/queues.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ bool GetPublicData( void )
}
last = curr;

d = AsmAlloc( objr->u.pubdef.num_pubs * sizeof( struct pubdef_data ) );
d = AsmAlloc( objr->u.pubdef.num_pubs * sizeof( pubdef_data ) );
objr->u.pubdef.pubs = d;
NameArray = AsmAlloc( objr->u.pubdef.num_pubs * sizeof( char * ) );
for( i = 0, curr = start; curr != last; curr = curr->next, ++i ) {
Expand Down Expand Up @@ -322,7 +322,7 @@ int GetLinnumData( int limit, linnum_data **ldata, bool *need32 )
{
queuenode *node;
line_num_info *node_data;
long count;
int count;
int i;

count = QCount( LinnumQueue );
Expand Down

0 comments on commit 99d68f9

Please sign in to comment.