aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Paland <marco@paland.com>2018-06-15 12:25:43 +0200
committerMarco Paland <marco@paland.com>2018-06-15 12:25:43 +0200
commit25b02d709fcde653b5a27f35e226427d6eb1705a (patch)
tree89f416f467471bea7fd0d91dd270fe1484fdd94d
parent7616d6f5e7a94890deadadaa4d3594cda0b62c4c (diff)
downloadprintf-25b02d709fcde653b5a27f35e226427d6eb1705a.tar.gz
printf-25b02d709fcde653b5a27f35e226427d6eb1705a.tar.bz2
printf-25b02d709fcde653b5a27f35e226427d6eb1705a.zip
fix(test_suite): fix vsnprintf va_arg mock test case for x64
-rw-r--r--test/test_suite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_suite.cpp b/test/test_suite.cpp
index c2fd0f2..1251212 100644
--- a/test/test_suite.cpp
+++ b/test/test_suite.cpp
@@ -88,9 +88,9 @@ TEST_CASE("vsnprintf", "[]" ) {
// mock argument list
const struct tag_args {
- int a;
- int b;
- char* s;
+ intptr_t a;
+ intptr_t b;
+ char* s;
} args = { -1, -1000, "test" };
test::vsnprintf(buffer, 100U, "%d %d %s", (char*)&args);