Cast 0xff to char before comparing it to another char.
[tinc] / src / solaris /
drwxr-xr-x   ..
-rw-r--r-- 10045 device.c