idoutils: fix logentry_type as int, not unsigned long

refs #4953