From c7d71ae1ab113165293a798fafbffb2994c0b064 Mon Sep 17 00:00:00 2001 From: cebix <> Date: Sat, 6 Jan 2001 22:15:35 +0000 Subject: [PATCH] XFree() doesn't need casting --- BasiliskII/src/Unix/video_x.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BasiliskII/src/Unix/video_x.cpp b/BasiliskII/src/Unix/video_x.cpp index b4a6628c..cb6ae715 100644 --- a/BasiliskII/src/Unix/video_x.cpp +++ b/BasiliskII/src/Unix/video_x.cpp @@ -334,7 +334,7 @@ static void set_window_name(Window w, int name) hints->res_name = "BasiliskII"; hints->res_class = "BasiliskII"; XSetClassHint(x_display, w, hints); - XFree((char *)hints); + XFree(hints); } } @@ -347,7 +347,7 @@ static void set_window_focus(Window w) hints->initial_state = NormalState; hints->flags = InputHint | StateHint; XSetWMHints(x_display, w, hints); - XFree((char *)hints); + XFree(hints); } } @@ -428,7 +428,7 @@ static bool init_window(int width, int height) hints->max_height = height; hints->flags = PMinSize | PMaxSize; XSetWMNormalHints(x_display, the_win, hints); - XFree((char *)hints); + XFree(hints); } }