diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-20 15:03:21 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-20 18:51:05 +0300 |
commit | 051526da6279c5e5166cb7188ef7e3e060fc3a5a (patch) | |
tree | 59953c9484de44e64098f9d583fe91015b54cb9e /source/blender/editors/interface | |
parent | 2666a222f62ea7b33aa1a72ea0ca504ca10383de (diff) |
Cleanup/fix some BLI_string_utf8 not using size_t/off_t as expected.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index a761bcfdf5e..734cd02a056 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -2963,7 +2963,7 @@ static bool ui_textedit_copypaste(uiBut *but, uiHandleButtonData *data, const in if (pbuf) { if (ui_but_is_utf8(but)) { - buf_len -= BLI_utf8_invalid_strip(pbuf, buf_len); + buf_len -= BLI_utf8_invalid_strip(pbuf, (size_t)buf_len); } ui_textedit_insert_buf(but, data, pbuf, buf_len); |