type conversion binds stronger than trinary operator

This commit is contained in:
Enno Rehling 2014-01-04 20:15:16 +01:00
parent 0d0b827699
commit 99151e209b
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ static const char *parse_string(opstack ** stack, const char *in,
if (ic == NULL)
return NULL;
c = (char *)opop_v(stack);
bytes = (int)c?strlcpy(oc, c, size):0;
bytes = (int)(c?strlcpy(oc, c, size):0);
if (bytes < (int)size)
oc += bytes;
else