diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-26 14:14:03 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-26 14:14:03 -0400 |
commit | b2e6b9900619358c59a18f3d91635ca9ea69b9b3 (patch) | |
tree | 3b6a79197668db2ce48b5ba81ff6d53d2070d70c /git.h | |
parent | c51851396d81e08011bc4d37f7f096e753cc05cb (diff) |
Make `date` a `time_t`.
Diffstat (limited to 'git.h')
-rw-r--r-- | git.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include <git2.h> #include <stdint.h> +#include <time.h> 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. */ |