diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2017-05-14 05:21:16 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2017-05-21 02:00:02 +0300 |
commit | c08e4b40db50d1eb8f013ee28eb3fb6c866b8505 (patch) | |
tree | 1f263e2ffacf4803bb4a58ccd0eae1570bde7b44 /src/ck-sysdeps-linux.c | |
parent | bf990a165f87089b2bd5194b832cbc089bceb5c4 (diff) | |
download | ConsoleKit2-c08e4b40db50d1eb8f013ee28eb3fb6c866b8505.tar.gz |
fix: remove the rest of the gcc warnings
Diffstat (limited to 'src/ck-sysdeps-linux.c')
-rw-r--r-- | src/ck-sysdeps-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ck-sysdeps-linux.c b/src/ck-sysdeps-linux.c index 9d7925f..bdace2e 100644 --- a/src/ck-sysdeps-linux.c +++ b/src/ck-sysdeps-linux.c @@ -477,7 +477,7 @@ ck_unix_pid_get_env_hash (pid_t pid) gsize length; GError *error; GHashTable *hash; - int i; + gsize i; gboolean last_was_null; g_return_val_if_fail (pid > 1, NULL); @@ -542,7 +542,7 @@ ck_unix_pid_get_env (pid_t pid, char *val; gsize length; GError *error; - int i; + guint i; char *prefix; int prefix_len; gboolean last_was_null; |