debug-engine: fix a few type mismatches (#4189)
- use strict prototypes complained by GCC `-Wstrict-prototypes` - use `int*` instead of `int32*` Note: on some targets, int32_t is a long. for example, GCC shipped with the recent ESP-IDF has such a configuration. - https://github.com/apache/nuttx/issues/15755#issuecomment-2635652808 - https://github.com/apache/nuttx/pull/16022 - https://docs.espressif.com/projects/esp-idf/en/stable/esp32/migration-guides/release-5.x/5.0/gcc.html#espressif-toolchain-changes
This commit is contained in:
@ -38,7 +38,7 @@ static const struct packet_handler_elem packet_handler_table[255] = {
|
||||
};
|
||||
|
||||
WASMGDBServer *
|
||||
wasm_create_gdbserver(const char *host, int32 *port)
|
||||
wasm_create_gdbserver(const char *host, int *port)
|
||||
{
|
||||
bh_socket_t listen_fd = (bh_socket_t)-1;
|
||||
WASMGDBServer *server;
|
||||
|
||||
Reference in New Issue
Block a user