From: Matthew Fernandez Date: Sat, 26 Mar 2022 19:50:16 +0000 (-0700) Subject: smyrma: remove unnecessary 'gint' cast X-Git-Tag: 4.0.0~156^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=988aedb8d194fa6faf2282d074d85ba8cd8a7869;p=graphviz smyrma: remove unnecessary 'gint' cast `G_PRIORITY_DEFAULT` is already a `gint` (typedef for `int`). --- 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;