One of the flag strings would never be printed because there was
simply not enough conversion specifiers in this format string. Fix
that up, and also adjust the length modifiers to match the actual
passed integer types.
file = "stdin";
lbx_img_getinfo(img, &info);
- printf("%s is %ux%u LBX image, %u frame(s)%s%s\n",
+ printf("%s is %hux%hu LBX image, %hhu frame(s)%s%s%s\n",
file, img->width, img->height, img->frames,
info.palettesz ? ", embedded palette" : "",
img->chunk ? ", chunked" : "",