diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2014-02-11 21:26:37 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2014-09-30 19:43:31 +0300 |
commit | d858f7862b891d2b8b05012bb8b24fa1e2b0067a (patch) | |
tree | 04be1373d1d488c0b346d46b775a46eb6786c192 | |
parent | b74741f56bf7701bca8ac0b469f3c92a3af835a0 (diff) | |
download | ConsoleKit2-d858f7862b891d2b8b05012bb8b24fa1e2b0067a.tar.gz |
Use correct type in tools/ck-history.c (Bug 51120)
Patch written by Rafal Muzylo.
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
-rw-r--r-- | tools/ck-history.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ck-history.c b/tools/ck-history.c index 85d9e6f..0e89d78 100644 --- a/tools/ck-history.c +++ b/tools/ck-history.c @@ -76,7 +76,7 @@ parse_event_line (const char *line) } static gboolean -process_log_gzstream (gzFile *fstream, +process_log_gzstream (gzFile fstream, GTimeVal *since) { char line[MAX_LINE_LEN]; @@ -150,7 +150,7 @@ process_log_file (const char *filename, gboolean ret; if (g_str_has_suffix (filename, ".gz")) { - gzFile *f; + gzFile f; f = gzopen (filename, "r"); if (f == NULL) { int errnum; |