aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-04-20 22:52:09 +0200
committerJunio C Hamano <gitster@pobox.com>2017-04-20 22:07:15 -0700
commite467dc148d0375ed83300589281f749fcbdd690d (patch)
tree2808489f8151880723612b519662d662c059b3c4 /perl
parent6a2c2f8d34fa1e8f3bb85d159d354810ed63692e (diff)
downloadgit-e467dc148d0375ed83300589281f749fcbdd690d.tar.gz
git-e467dc148d0375ed83300589281f749fcbdd690d.tar.xz
ref-filter: avoid using `unsigned long` for catch-all data type
In its `atom_value` struct, the ref-filter source code wants to store different values in a field called `ul` (for `unsigned long`), e.g. timestamps. However, as we are about to switch the data type of timestamps away from `unsigned long` (because it may be 32-bit even when `time_t` is 64-bit), that data type is not large enough. Simply change that field to use `uintmax_t` instead. This patch is a bit larger than the mere change of the data type because the field's name was tied to its data type, which has been fixed at the same time. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions