From: Matthew Fernandez Date: Sat, 26 Mar 2022 19:48:28 +0000 (-0700) Subject: smyrna: remove use of 'guint' cast X-Git-Tag: 4.0.0~156^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0619396f6c1ac13b9953c15ecffca03f0f1d102;p=graphviz smyrna: remove use of 'guint' cast `guint` is just a Glib typedef for `unsigned int`. So we can write this simpler. --- diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 065b33dad..d173d8d59 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -388,7 +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, (guint) 100, + g_timeout_add_full((gint) G_PRIORITY_DEFAULT, 100u, gl_main_expose, NULL, NULL); view->cameras = '\0';; view->camera_count = 0;