Commit 3c62bd1
committed
struct_test: use explicit signed char for Array4Chars field
Changes the Array4Chars struct field from char to signed char to ensure
consistent signedness across platforms. The signedness of plain char is
implementation-defined and can vary between compilers and platforms,
potentially causing test inconsistencies.
Using signed char makes the signedness explicit and ensures consistent
behavior in struct marshalling tests across Darwin and Linux platforms.1 parent a2cc070 commit 3c62bd1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments