This also fixes the compilation with GCC 7. The error is: error: comparison between pointer and integer ('unsigned char *' and 'XID' (aka 'unsigned long')) Reported by: pkg-fallout