Skip to content

Commit 170ba91

Browse files
committed
Fix GCC Warning
1 parent e11d81f commit 170ba91

File tree

1 file changed

+2
-2
lines changed
  • examples/C/web_app_multi_client

1 file changed

+2
-2
lines changed

examples/C/web_app_multi_client/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void saveAll(webui_event_t* e) {
2626
// Save it in the array
2727
snprintf(publicInput_arr, 1024, "%s", publicInput);
2828
// Update all users
29-
char buffer[512] = {0};
29+
char buffer[1024] = {0};
3030
snprintf(buffer, sizeof(buffer), "document.getElementById(\"publicInput\").value = \"%s\";", publicInput);
3131
webui_run(e->window, buffer);
3232
}
@@ -59,7 +59,7 @@ void events(webui_event_t* e) {
5959
}
6060

6161
// Buffer
62-
char buffer[512] = {0};
62+
char buffer[1100] = {0};
6363

6464
// Update this current user only
6565

0 commit comments

Comments
 (0)