It makes no sense to compare an unsigned integer for non-negativeness; it won't ever be. router_instance.lastEventReceived is uint8_t. On centos5 this causes a warning that thus ends the compilation.