[Bf-blender-cvs] [eae70904646] master: Fixes a warning where dst array size was wrong in the signiture of BLI_str_format_attribute_domain_size.
Fabian Schempp
noreply at git.blender.org
Fri Jun 25 22:56:57 CEST 2021
Commit: eae709046469d58282258203da802cae8b745d21
Author: Fabian Schempp
Date: Fri Jun 25 22:56:50 2021 +0200
Branches: master
https://developer.blender.org/rBeae709046469d58282258203da802cae8b745d21
Fixes a warning where dst array size was wrong in the
signiture of BLI_str_format_attribute_domain_size.
Reviewer: Hans Goudey (Hoogly Boogly)
Differential Revision: https://developer.blender.org/D11710
===================================================================
M source/blender/blenlib/BLI_string.h
===================================================================
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h
index f4a417dbe65..0c51d38e813 100644
--- a/source/blender/blenlib/BLI_string.h
+++ b/source/blender/blenlib/BLI_string.h
@@ -100,7 +100,7 @@ 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 bytes, const bool base_10)
ATTR_NONNULL();
-void BLI_str_format_attribute_domain_size(char dst[4], int number_to_format) ATTR_NONNULL();
+void BLI_str_format_attribute_domain_size(char dst[7], int number_to_format) ATTR_NONNULL();
int BLI_strcaseeq(const char *a, const char *b) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
char *BLI_strcasestr(const char *s, const char *find) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
char *BLI_strncasestr(const char *s, const char *find, size_t len) ATTR_WARN_UNUSED_RESULT
More information about the Bf-blender-cvs
mailing list