diff --git a/src/tools/chdman.c b/src/tools/chdman.c index eac2364fa0d..9868ec91dcc 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -3307,7 +3307,7 @@ static chd_error chdman_clone_metadata(chd_file *source, chd_file *dest) main - entry point -------------------------------------------------*/ -int CLIB_DECL main(int argc, char **argv) +int CLIB_DECL main(int argc, char *argv[]) { static const struct { diff --git a/src/tools/romcmp.c b/src/tools/romcmp.c index 71725fc1fae..a164a163fc4 100644 --- a/src/tools/romcmp.c +++ b/src/tools/romcmp.c @@ -553,7 +553,7 @@ static int load_files(int i, int *found, const char *path) } -int CLIB_DECL main(int argc,char **argv) +int CLIB_DECL main(int argc,char *argv[]) { int err; int total_modes = MODE_NIB2; /* by default, use only MODE_A, MODE_NIB1 and MODE_NIB2 */