summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-14 15:00:16 +0100
committermbkma <[email protected]>2022-03-19 11:26:13 +0100
commit7b8bc9c362f8ece315998e7f9e602131ecfb3c10 (patch)
tree2978f97af909fa4cbf2369c59dbdbe95ce821ff3 /src/gs-lock-plug.c
parentc54cb9f338830e3d8b7afdc7c7110ecdf946313f (diff)
downloadmate-screensaver-7b8bc9c362f8ece315998e7f9e602131ecfb3c10.tar.bz2
mate-screensaver-7b8bc9c362f8ece315998e7f9e602131ecfb3c10.tar.xz
gs-lock-plug: Fix -Wshorten-64-to-32 warning
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c4
1 files 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));