The code expects id_t and mode_t to be unsigned, so the code now defines