Skip to content

Commit

Permalink
Fix const warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Sep 26, 2024
1 parent 7468915 commit 318b0d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/bare.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ main (int argc, char *argv[]) {
assert(err == 0);

bare_t *bare;
err = bare_setup(uv_default_loop(), platform, NULL, argc, argv, NULL, &bare);
err = bare_setup(uv_default_loop(), platform, NULL, argc, (const char **) argv, NULL, &bare);
assert(err == 0);

uv_buf_t source = uv_buf_init((char *) bare_bundle, bare_bundle_len);
Expand Down
2 changes: 1 addition & 1 deletion test/restart.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ main (int argc, char *argv[]) {

do {
bare_t *bare;
e = bare_setup(uv_default_loop(), platform, NULL, argc, argv, NULL, &bare);
e = bare_setup(uv_default_loop(), platform, NULL, argc, (const char **) argv, NULL, &bare);
assert(e == 0);

char *code;
Expand Down

0 comments on commit 318b0d5

Please sign in to comment.