ref: ce2585460e25c0ea8061e0507f080c06a6972087
parent: 2fe30c8eb736087233409b4aea28fe36e3314517
author: mfrancis95 <mikefrancis95@gmail.com>
date: Sun Dec 8 17:45:37 EST 2019
Fix fprintf warnings in gusconf.c
--- a/src/gusconf.c
+++ b/src/gusconf.c
@@ -247,7 +247,7 @@
if (config->mapping[i] >= 0 && config->mapping[i] < MAX_INSTRUMENTS
&& config->patch_names[config->mapping[i]] != NULL)
{
- fprintf(fstream, "%i %s\n",
+ fprintf(fstream, "%u %s\n",
i, config->patch_names[config->mapping[i]]);
}
}
@@ -259,7 +259,7 @@
if (config->mapping[i] >= 0 && config->mapping[i] < MAX_INSTRUMENTS
&& config->patch_names[config->mapping[i]] != NULL)
{
- fprintf(fstream, "%i %s\n",
+ fprintf(fstream, "%u %s\n",
i - 128, config->patch_names[config->mapping[i]]);
}
}