diff options
author | Marco Paland <marco@paland.com> | 2018-06-15 12:25:43 +0200 |
---|---|---|
committer | Marco Paland <marco@paland.com> | 2018-06-15 12:25:43 +0200 |
commit | 25b02d709fcde653b5a27f35e226427d6eb1705a (patch) | |
tree | 89f416f467471bea7fd0d91dd270fe1484fdd94d /test | |
parent | 7616d6f5e7a94890deadadaa4d3594cda0b62c4c (diff) | |
download | printf-25b02d709fcde653b5a27f35e226427d6eb1705a.tar.gz printf-25b02d709fcde653b5a27f35e226427d6eb1705a.tar.bz2 printf-25b02d709fcde653b5a27f35e226427d6eb1705a.zip |
fix(test_suite): fix vsnprintf va_arg mock test case for x64
Diffstat (limited to 'test')
-rw-r--r-- | test/test_suite.cpp | 6 |
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);
|