diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-18 11:45:02 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-18 11:45:02 -0800 |
commit | ca00db08da414b3f6bd9481a51fdbb4b6836719c (patch) | |
tree | 52f110cfd65111f55e667bccc2652ea57c7c2e91 /cache.h | |
parent | de15bdb0583a1a65bf1bab47b7bec9bdc03f727a (diff) | |
parent | d306f3d3513c62342fec4e31457766f2473f9e9a (diff) | |
download | git-ca00db08da414b3f6bd9481a51fdbb4b6836719c.tar.gz git-ca00db08da414b3f6bd9481a51fdbb4b6836719c.tar.xz |
Merge branch 'jk/decimal-width-for-uintmax'
We didn't format an integer that wouldn't fit in "int" but in
"uintmax_t" correctly.
* jk/decimal-width-for-uintmax:
decimal_width: avoid integer overflow
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1498,7 +1498,7 @@ extern const char *pager_program; extern int pager_in_use(void); extern int pager_use_color; extern int term_columns(void); -extern int decimal_width(int); +extern int decimal_width(uintmax_t); extern int check_pager_config(const char *cmd); extern const char *editor_program; |