NE Alpha 35

This commit is contained in:
Cr4sh 2016-11-03 02:40:38 +07:00
parent 52c7a56f68
commit 4160a6a580
24 changed files with 477 additions and 94 deletions

View file

@ -557,7 +557,7 @@ size_t len;
a->slen = i;
len = strlen (str + i);
if (len + 1 > INT_MAX - i ||
if (len + 1 > (size_t)(INT_MAX - i) ||
0 > balloc (a, (int) (i + len + 1))) return BSTR_ERR;
bBlockCopy (a->data + i, str + i, (size_t) len + 1);
a->slen += (int) len;