From c0619396f6c1ac13b9953c15ecffca03f0f1d102 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 26 Mar 2022 12:48:28 -0700 Subject: [PATCH] smyrna: remove use of 'guint' cast `guint` is just a Glib typedef for `unsigned int`. So we can write this simpler. --- cmd/smyrna/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0