From 988aedb8d194fa6faf2282d074d85ba8cd8a7869 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 26 Mar 2022 12:50:16 -0700 Subject: [PATCH] smyrma: remove unnecessary 'gint' cast `G_PRIORITY_DEFAULT` is already a `gint` (typedef for `int`). --- cmd/smyrna/viewport.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index d173d8d59..ad509a4cd 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -388,8 +388,7 @@ void init_viewport(ViewInfo * view) view->active_frame = 0; view->total_frames = 1500; /*add a call back to the main() */ - g_timeout_add_full((gint) G_PRIORITY_DEFAULT, 100u, - gl_main_expose, NULL, NULL); + g_timeout_add_full(G_PRIORITY_DEFAULT, 100u, gl_main_expose, NULL, NULL); view->cameras = '\0';; view->camera_count = 0; view->active_camera = -1; -- 2.40.0