Skip to content

Commit

Permalink
fix -Wcalloc-transposed-args warning from gcc14
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jun 5, 2024
1 parent 4964e54 commit c0d69cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gme/ext/emu2413.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ OPLL_new (e_uint32 clk, e_uint32 rate)

maketables (clk, rate);

opll = (OPLL *) calloc (sizeof (OPLL), 1);
opll = (OPLL *) calloc (1, sizeof (OPLL));
if (opll == NULL)
return NULL;

Expand Down

0 comments on commit c0d69cb

Please sign in to comment.