diff options
Diffstat (limited to 'tests/projects/other/native_module/modules/binary')
| -rw-r--r-- | tests/projects/other/native_module/modules/binary/bar/src/add.cpp | 2 | ||||
| -rw-r--r-- | tests/projects/other/native_module/modules/binary/bar/src/sub.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/other/native_module/modules/binary/bar/src/add.cpp b/tests/projects/other/native_module/modules/binary/bar/src/add.cpp index 87ef97e6c..e19d07e12 100644 --- a/tests/projects/other/native_module/modules/binary/bar/src/add.cpp +++ b/tests/projects/other/native_module/modules/binary/bar/src/add.cpp @@ -4,6 +4,6 @@ int main(int argc, char** argv) { int a = atoi(argv[1]); int b = atoi(argv[2]); - printf("%s\n", a + b); + printf("%d", a + b); return 0; } diff --git a/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp b/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp index 524930500..980289d1a 100644 --- a/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp +++ b/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp @@ -4,7 +4,7 @@ int main(int argc, char** argv) { int a = atoi(argv[1]); int b = atoi(argv[2]); - printf("%s\n", a - b); + printf("%d", a - b); return 0; } |
