projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'stable'
[gnulib.git]
/
tests
/
test-vsnprintf.c
diff --git
a/tests/test-vsnprintf.c
b/tests/test-vsnprintf.c
index
6711f39
..
7a52082
100644
(file)
--- a/
tests/test-vsnprintf.c
+++ b/
tests/test-vsnprintf.c
@@
-76,7
+76,7
@@
main (int argc, char *argv[])
/* Test the support of the POSIX/XSI format strings with positions. */
{
char result[100];
/* Test the support of the POSIX/XSI format strings with positions. */
{
char result[100];
-
int
retval = my_snprintf (result, sizeof (result), "%2$d %1$d", 33, 55);
+ retval = my_snprintf (result, sizeof (result), "%2$d %1$d", 33, 55);
ASSERT (strcmp (result, "55 33") == 0);
ASSERT (retval == strlen (result));
}
ASSERT (strcmp (result, "55 33") == 0);
ASSERT (retval == strlen (result));
}