From b2e6b9900619358c59a18f3d91635ca9ea69b9b3 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 26 Jun 2021 14:14:03 -0400 Subject: Make `date` a `time_t`. --- git.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git.h') diff --git a/git.h b/git.h index aa64fff..9bbe0e7 100644 --- a/git.h +++ b/git.h @@ -3,6 +3,7 @@ #include #include +#include typedef struct git_repo git_repo; typedef struct pull_request pull_request; @@ -36,7 +37,7 @@ struct pull_request { char *desc; /* Description of the pull request. */ char *author; /* Author of the pull request. */ comment **comments; /* Comments of this pull reuqest. */ - int date; /* Date of creation. */ + time_t date; /* Date of creation. */ uint8_t pr_type; /* Type of pull request. (0 = individual commit patches, 1 = remote branch) */ union { file **patches; /* Patch files of pull request. */ -- cgit v1.2.3-13-gbd6f