bmmap uses C99 int types
idt uses C99 int types