mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
[util] Fix format issue in set test
I guess I hadn't done a "make check" on 64-bit since getting windows builds to work.
This commit is contained in:
parent
897f8ebfbe
commit
713862c511
1 changed files with 4 additions and 4 deletions
|
@ -197,13 +197,13 @@ main (int argc, const char **argv)
|
|||
//printf ("set_bits_t: %d, SET_DEFMAP_SIZE: %d, SIZE: %d\n",
|
||||
// sizeof (set_bits_t), SET_DEFMAP_SIZE, SIZE);
|
||||
|
||||
tests[5].str_expect = nva ("{%d}", SIZE);
|
||||
tests[7].str_expect = nva ("{%d ...}", SIZE);
|
||||
tests[8].str_expect = nva ("{%d ...}", SIZE);
|
||||
tests[5].str_expect = nva ("{%zd}", SIZE);
|
||||
tests[7].str_expect = nva ("{%zd ...}", SIZE);
|
||||
tests[8].str_expect = nva ("{%zd ...}", SIZE);
|
||||
|
||||
str = dstring_new ();
|
||||
for (i = 0; i < SIZE; i++) {
|
||||
dasprintf (str, "%c%d", i ? ' ' : '{', i);
|
||||
dasprintf (str, "%c%zd", i ? ' ' : '{', i);
|
||||
}
|
||||
dstring_appendstr (str, "}");
|
||||
tests[6].str_expect = dstring_freeze (str);
|
||||
|
|
Loading…
Reference in a new issue