From a8305a9543969206aa7cec03948c5a19950eedb9 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 14 Sep 2008 09:45:37 +0200 Subject: parsing.c: be prepared for unexpected content in commit/tag objects When parsing commits and tags cgit made too many assumptions about the formatting of said objects. This patch tries to make the code be more prepared to handle 'malformed' objects. Signed-off-by: Lars Hjemli --- cgit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 1615616..08fd95a 100644 --- a/cgit.h +++ b/cgit.h @@ -85,7 +85,7 @@ struct commitinfo { struct taginfo { char *tagger; char *tagger_email; - int tagger_date; + unsigned long tagger_date; char *msg; }; -- cgit v1.2.3-70-g09d2