From 7f3fca2bd081a729d425184f7a0484025862257e Mon Sep 17 00:00:00 2001 From: John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> Date: Wed, 19 Apr 2023 02:44:19 +0200 Subject: Cleanup: gchar as gchar instead of char Use gchar instead of char in most of the cases where gchar is intended. Reason: improve compatibility and stability. Issue #1819 Minor refactoring. --- src/event/server_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event') diff --git a/src/event/server_events.c b/src/event/server_events.c index 0f6df2ac..01002a1e 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -1346,7 +1346,7 @@ static void _cut(ProfMessage* message, const char* cut) { if (strstr(message->plain, cut)) { - char** split = g_strsplit(message->plain, cut, -1); + gchar** split = g_strsplit(message->plain, cut, -1); free(message->plain); message->plain = g_strjoinv("", split); g_strfreev(split); -- cgit 1.4.1-2-gfad0