diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-27 06:47:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-27 06:47:39 +0400 |
commit | d6d8de015c0cc70b8f0e2bbdf3cbd39e6176e31e (patch) | |
tree | c900584ced35ff3187d5bec75b365de58e723956 /source/blender/blenlib/BLI_string.h | |
parent | e903701450fd1ffe4d793a60e3c174ee47fe66dd (diff) |
change BLI_strlen_range_utf8 to the more conventional BLI_strnlen_utf8
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 943597b6688..ba906e1221c 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -204,7 +204,7 @@ __attribute__((warn_unused_result)) __attribute__((nonnull)) #endif ; -size_t BLI_strnlen(const char *str, size_t maxlen) +size_t BLI_strnlen(const char *str, const size_t maxlen) #ifdef __GNUC__ __attribute__((warn_unused_result)) __attribute__((nonnull)) |