Skip to content

Commit

Permalink
gs-lock-plug: Fix -Wshorten-64-to-32 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj committed Dec 14, 2021
1 parent 0ef0a96 commit d64b1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gs-lock-plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d64b1fa

Please sign in to comment.