From ad051f7328cb8fed19070651aac314d64de1b815 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 1 Sep 2011 12:36:11 -0500 Subject: _alpm_parsedate(): return time_t and not long Signed-off-by: Dan McGee --- lib/libalpm/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/util.h') diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index c5544a04..2a2d3a93 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -120,7 +120,7 @@ int _alpm_splitname(const char *target, char **name, char **version, unsigned long *name_hash); unsigned long _alpm_hash_sdbm(const char *str); off_t _alpm_strtoofft(const char *line); -long _alpm_parsedate(const char *line); +time_t _alpm_parsedate(const char *line); int _alpm_raw_cmp(const char *first, const char *second); int _alpm_raw_ncmp(const char *first, const char *second, size_t max); int _alpm_access(alpm_handle_t *handle, const char *dir, const char *file, int amode); -- cgit v1.2.3-24-g4f1b