Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76d52e7

Browse files
committed
Fix incorrect format placeholders
Before commita0ed19e there was a cast around these, but the castinadvertently changed the signedness, but that made the formatplaceholder correct. Commita0ed19e removed the casts, so now theformat placeholders had the wrong signedness.
1 parent385959b commit76d52e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/fe_utils/print.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3185,7 +3185,7 @@ printTableInit(printTableContent *const content, const printTableOpt *opt,
31853185
/* Catch possible overflow. Using >= here allows adding 1 below */
31863186
if (total_cells >=SIZE_MAX /sizeof(*content->cells))
31873187
{
3188-
fprintf(stderr,_("Cannot print table contents: number of cells %"PRId64" is equal to or exceeds maximum %zu.\n"),
3188+
fprintf(stderr,_("Cannot print table contents: number of cells %"PRIu64" is equal to or exceeds maximum %zu.\n"),
31893189
total_cells,
31903190
SIZE_MAX /sizeof(*content->cells));
31913191
exit(EXIT_FAILURE);
@@ -3269,7 +3269,7 @@ printTableAddCell(printTableContent *const content, char *cell,
32693269
total_cells= (uint64)content->ncolumns*content->nrows;
32703270
if (content->cellsadded >=total_cells)
32713271
{
3272-
fprintf(stderr,_("Cannot add cell to table content: total cell count of %"PRId64" exceeded.\n"),
3272+
fprintf(stderr,_("Cannot add cell to table content: total cell count of %"PRIu64" exceeded.\n"),
32733273
total_cells);
32743274
exit(EXIT_FAILURE);
32753275
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp