diff options
author | Elijah Newren <newren@gmail.com> | 2018-09-05 17:25:49 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-12 22:17:17 (GMT) |
commit | e4c34855a26fccd2072d452390a0e3167bcc4da9 (patch) | |
tree | 5cbcfde077fd742b0ed96f80c6e7bb8a0fb77853 | |
parent | 1d4361b0f344188ab5eec6dcea01f61a3a3a1670 (diff) | |
download | git-e4c34855a26fccd2072d452390a0e3167bcc4da9.zip git-e4c34855a26fccd2072d452390a0e3167bcc4da9.tar.gz git-e4c34855a26fccd2072d452390a0e3167bcc4da9.tar.bz2 |
update-ref: fix type of update_flags variable to match its usage
The ref_transaction_*() family of functions expect a flags parameter
which is of type unsigned int. Make the update_flags variable, which
is passed as that parameter, be of the same type.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin/update-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/update-ref.c b/builtin/update-ref.c index 4fa3c0a..54fac01 100644 --- a/builtin/update-ref.c +++ b/builtin/update-ref.c @@ -14,7 +14,7 @@ static const char * const git_update_ref_usage[] = { }; static char line_termination = '\n'; -static int update_flags; +static unsigned int update_flags; static unsigned create_reflog_flag; static const char *msg; |