Skip to content

Commit

Permalink
Fixed a calloc-transposed-args warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
punesemu committed Jul 15, 2024
1 parent 6e51b1a commit d695376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extra/emu2413/emu2413.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ OPLL *OPLL_new(uint32_t clk, uint32_t rate) {
initializeTables();
}

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

Expand Down

0 comments on commit d695376

Please sign in to comment.