Skip to content

Commit

Permalink
Fix pointer types
Browse files Browse the repository at this point in the history
  • Loading branch information
starg2 committed May 11, 2024
1 parent 9522136 commit f29d494
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sf_view_gui/mysndfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#pragma warning(pop)

void sfgui_str_free(void **p)
void sfgui_str_free(char **p)
{
if (!*p) return;
free(*p);
Expand Down
2 changes: 1 addition & 1 deletion timidity/instrum.h
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ extern Instrument *extract_soundfont(char *sf_file, int bank, int preset,
extern int exclude_soundfont(int bank, int preset, int keynote);
extern int order_soundfont(int bank, int preset, int keynote, int order);
extern char *soundfont_preset_name(int bank, int preset, int keynote,
char **sndfile);
const char **sndfile);
extern void free_soundfonts(void);

/* instrum.c */
Expand Down
2 changes: 1 addition & 1 deletion timidity/sndfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void free_soundfonts()
}

char *soundfont_preset_name(int bank, int preset, int keynote,
char **sndfile)
const char **sndfile)
{
SFInsts *rec;
if (sndfile)
Expand Down

0 comments on commit f29d494

Please sign in to comment.