cast return value of wstrlen

pull/134/head
Jacob Barthelmeh 2019-02-04 14:53:45 -07:00
parent 55a763c360
commit a268085b0b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static int commandCb(const char* in, char* out, int outSz)
/* get command input */ /* get command input */
if (out) { if (out) {
int sz = WSTRLEN(cmds[commandIdx]); int sz = (int)WSTRLEN(cmds[commandIdx]);
if (outSz < sz) { if (outSz < sz) {
ret = -1; ret = -1;
} }