Skip to content

Commit 7d09c38

Browse files
committed
fix type mismatches in native-lib/scalar_arguments test
1 parent a1214e5 commit 7d09c38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/native-lib/scalar_arguments.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ EXPORT uint32_t get_unsigned_int(void) {
2222
return -10;
2323
}
2424

25-
EXPORT short add_int16(int16_t x) {
25+
EXPORT int16_t add_int16(int16_t x) {
2626
return x + 3;
2727
}
2828

29-
EXPORT long add_short_to_long(int16_t x, int64_t y) {
29+
EXPORT int64_t add_short_to_long(int16_t x, int64_t y) {
3030
return x + y;
3131
}
3232

0 commit comments

Comments
 (0)