Added int.h as a centeral place for calc integer types and integer macros. Currently zmath.c includes int.h but does not yet use it. Added missing ptr type checks to chk_c.c.