aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-09-14 09:45:37 +0200
committerLars Hjemli <hjemli@gmail.com>2008-09-15 22:33:11 +0200
commita8305a9543969206aa7cec03948c5a19950eedb9 (patch)
tree8e2cf67ec72bc296b76a4fcb6db5ec8250f0a502 /cgit.h
parentb28765135dd6f52635977454eaf95d0e6c7e7271 (diff)
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 <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 1 insertions, 1 deletions
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;
};