STRICT_CFLAGS += -Wformat -Wformat-security
STRICT_CFLAGS += -Wmissing-format-attribute
STRICT_CFLAGS += -Wdeclaration-after-statement
+STRICT_CFLAGS += -Wformat-signedness
LDFLAGS += $(clock_gettime_ldflags)
if (cto->image_id >= 0) {
ret = img_get_name_by_id(cto->image_id, NULL);
if (ret < 0) {
- para_printf(&aca->pbout, "invalid image ID: %u\n",
+ para_printf(&aca->pbout, "invalid image ID: %d\n",
cto->image_id);
return ret;
}
if (cto->lyrics_id >= 0) {
ret = lyr_get_name_by_id(cto->lyrics_id, NULL);
if (ret < 0) {
- para_printf(&aca->pbout, "invalid lyrics ID: %u\n",
+ para_printf(&aca->pbout, "invalid lyrics ID: %d\n",
cto->lyrics_id);
return ret;
}