small fixes to the C types

These are to get rid of C compiler warnings.
small changes
readme