text: let vlc_towc() return an ssize_t
size_t is not well suited to return -1 to 4 values. We can also get rid of all the (size_t)-1 casts.
Showing
- include/vlc_charset.h 6 additions, 6 deletionsinclude/vlc_charset.h
- modules/logger/json.c 3 additions, 2 deletionsmodules/logger/json.c
- src/config/help.c 6 additions, 5 deletionssrc/config/help.c
- src/test/utf8.c 5 additions, 5 deletionssrc/test/utf8.c
- src/text/strings.c 2 additions, 2 deletionssrc/text/strings.c
- src/text/unicode.c 1 addition, 1 deletionsrc/text/unicode.c
Loading
Please register or sign in to comment