aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);