From 7b8bc9c362f8ece315998e7f9e602131ecfb3c10 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 14 Dec 2021 15:00:16 +0100 Subject: gs-lock-plug: Fix -Wshorten-64-to-32 warning --- src/gs-lock-plug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c index 148cfab..bcb6a86 100644 --- a/src/gs-lock-plug.c +++ b/src/gs-lock-plug.c @@ -1723,8 +1723,8 @@ expand_string (const char *text) GString *str; const char *p; char *username; - int i; - int n_chars; + glong i; + glong n_chars; struct utsname name; str = g_string_sized_new (strlen (text)); -- cgit v1.2.1