Skip to content

Commit 3589212

Browse files
committed
Fix Linux GCC
1 parent 9ee24d0 commit 3589212

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4853,9 +4853,9 @@ static int _webui_external_file_handler(_webui_window_t* win, struct mg_connecti
48534853

48544854
// Files handler callback
48554855
#ifdef WEBUI_LOG
4856+
void* pt = (win->files_handler_window != NULL ? win->files_handler_window : win->files_handler);
48564857
printf("[Core]\t\t_webui_external_file_handler() -> Path [%s]\n", url);
4857-
printf("[Core]\t\t_webui_external_file_handler() -> Calling custom files handler callback at address 0x%p\n",
4858-
(win->files_handler_window != NULL ? win->files_handler_window : win->files_handler));
4858+
printf("[Core]\t\t_webui_external_file_handler() -> Calling custom files handler callback at address 0x%p\n", pt);
48594859
printf("[Call]\n");
48604860
#endif
48614861

0 commit comments

Comments
 (0)