correct sprintf parameter signedness

This commit is contained in:
Laurent Vivier 2008-07-28 23:08:38 +00:00
parent 10951f1f27
commit 336b5e6e57

View File

@ -707,7 +707,7 @@ static int8_t *set_config(char *config_path)
}
memset(configuration, 0, 65536);
sprintf(configuration, "configuration %s\n", config_path);
sprintf((char*)configuration, "configuration %s\n", config_path);
if (verbose)
printf(" configuration %s\n", config_path);