Fix "format-overflow" warning

This commit is contained in:
Mark Hämmerling 2017-07-24 22:34:48 +02:00
parent 5b125925c8
commit 9ff163218f

View file

@ -435,7 +435,7 @@ struct _fluid_defpreset_t
{ {
fluid_defpreset_t* next; fluid_defpreset_t* next;
fluid_defsfont_t* sfont; /* the soundfont this preset belongs to */ fluid_defsfont_t* sfont; /* the soundfont this preset belongs to */
char name[21]; /* the name of the preset */ char name[22]; /* the name of the preset */
unsigned int bank; /* the bank number */ unsigned int bank; /* the bank number */
unsigned int num; /* the preset number */ unsigned int num; /* the preset number */
fluid_preset_zone_t* global_zone; /* the global zone of the preset */ fluid_preset_zone_t* global_zone; /* the global zone of the preset */