From c0176f58f98e837f1b9eb40514ac58c51f24e644 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Thu, 15 Dec 2022 19:50:12 +0100 Subject: [PATCH] tests: consistently use GLib types in tests We use GLib in tests so instead of int use gint everywhere. Signed-off-by: Bartosz Golaszewski --- tests/gpiod-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gpiod-test.c b/tests/gpiod-test.c index 39a1f40..841b6bd 100644 --- a/tests/gpiod-test.c +++ b/tests/gpiod-test.c @@ -60,7 +60,7 @@ static void add_test_from_list(gpointer element, gpointer data G_GNUC_UNUSED) g_test_add_data_func(test->path, test, test_func_wrapper); } -int main(gint argc, gchar **argv) +gint main(gint argc, gchar **argv) { g_test_init(&argc, &argv, NULL); g_test_set_nonfatal_assertions(); -- 2.30.2