Use unsigned char type for counting number of corners
The number of corners should never be higher than 8 (for hexahedra), thus 'unsigned char' is perfect to fix warnings here as it can safely be promoted to any other integer type.
The number of corners should never be higher than 8 (for hexahedra), thus 'unsigned char' is perfect to fix warnings here as it can safely be promoted to any other integer type.