Skip to content

Commit

Permalink
Merge pull request #8553 from joaohf/fix-errors-for-gcc-14
Browse files Browse the repository at this point in the history
Fix errors for gcc 14
  • Loading branch information
jhogberg authored Jun 14, 2024
2 parents b8bc764 + f5ac901 commit 2b3a727
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion erts/emulator/test/float_SUITE_data/fp_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static ErlDrvSSizeT control(ErlDrvData drv_data,
res_str = "skip: no thread support";
else if (0 != erl_drv_thread_create("test", &tid, do_test, NULL, NULL))
res_str = "failed to create thread";
else if (0 != erl_drv_thread_join(tid, &res_str))
else if (0 != erl_drv_thread_join(tid, (void**)&res_str))
res_str = "failed to join thread";
break;
}
Expand Down
2 changes: 1 addition & 1 deletion erts/emulator/test/port_SUITE_data/dead_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "winbase.h"
#endif

#define MAIN(argc, argv) main(argc, argv)
#define MAIN(argc, argv) int main(argc, argv)

extern int errno;

Expand Down
2 changes: 1 addition & 1 deletion erts/emulator/test/signal_SUITE_data/unlink_signal_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ DRIVER_INIT(unlink_signal_entry)
}

typedef struct {
ErlDrvData port;
ErlDrvPort port;
int timeout_count;
} us_drv_state;

Expand Down

0 comments on commit 2b3a727

Please sign in to comment.