diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-11-19 17:24:32 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-11-21 18:34:32 +0300 |
commit | cec83e92e6160adf1e39e0173c77743cb1ff1be7 (patch) | |
tree | 1ff09e025d910d63af6f0716cc26e4f015e56d29 /source/blender/blenlib/BLI_string.h | |
parent | d3e686d61eb93aed5487c4037d7675cf811039a1 (diff) |
Fix T57884: Triangle count is incorrect when above around 2 billion
Maniphest Tasks: T57884
Differential Revision: https://developer.blender.org/D3962
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index eef4e0647aa..2fb8f045841 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -33,6 +33,7 @@ */ #include <stdarg.h> +#include <inttypes.h> #ifdef __cplusplus extern "C" { @@ -71,6 +72,7 @@ char *BLI_sprintfN(const char *__restrict format, ...) ATTR_WARN_UNUSED_RESULT A size_t BLI_strescape(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL(); size_t BLI_str_format_int_grouped(char dst[16], int num) ATTR_NONNULL(); +size_t BLI_str_format_uint64_grouped(char dst[16], uint64_t num) ATTR_NONNULL(); void BLI_str_format_byte_unit(char dst[15], long long int size, const bool base_10) ATTR_NONNULL(); int BLI_strcaseeq(const char *a, const char *b) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); |