Fix compilation error

This commit is contained in:
FRIGN 2016-02-20 21:54:12 +01:00 committed by sin
parent 0d97bd3f57
commit 6adb9b8ccd

View File

@ -62,7 +62,7 @@ unescape(char *s)
q += (s[m] - '0') * factor;
factor *= 8;
}
s[i] = (q > 255) 255 : q;
s[i] = (q > 255) ? 255 : q;
}
for (m = i + 1; m <= len - off; m++)