mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-11 20:36:38 +02:00
Eliminate new compiler warning on Linux
This commit is contained in:
parent
ae96f13797
commit
416ae729e8
@ -1069,7 +1069,7 @@ int output_box (const sentry_t *thebox)
|
|||||||
|
|
||||||
/* add info line for web ui if requested with -q */
|
/* add info line for web ui if requested with -q */
|
||||||
if (opt.q) {
|
if (opt.q) {
|
||||||
fprintf (opt.outfile, "%d ", thebox[BTOP].height + vfill1_save - skip_start);
|
fprintf (opt.outfile, "%d ", (int) (thebox[BTOP].height + vfill1_save - skip_start));
|
||||||
for (j = 0; j < input.anz_lines; j++) {
|
for (j = 0; j < input.anz_lines; j++) {
|
||||||
fprintf (opt.outfile, "%d%s",
|
fprintf (opt.outfile, "%d%s",
|
||||||
(contentPos[j] == SIZE_MAX ? (int) -1 : (int) contentPos[j]),
|
(contentPos[j] == SIZE_MAX ? (int) -1 : (int) contentPos[j]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user