commit | 6adb9b8ccd9a557efb98837c89661ed69aacc984 | [log] [tgz] |
---|---|---|
author | FRIGN <dev@frign.de> | Sat Feb 20 21:54:12 2016 +0100 |
committer | sin <sin@2f30.org> | Sun Feb 21 08:52:48 2016 +0000 |
tree | 07bee628b71ca6737b3c89e2e93aba226011978d | |
parent | 0d97bd3f5775408321169be292b6744b0ee6a8ae [diff] |
Fix compilation error
diff --git a/libutil/unescape.c b/libutil/unescape.c index be18d1f..90a62c3 100644 --- a/libutil/unescape.c +++ b/libutil/unescape.c
@@ -62,7 +62,7 @@ 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++)