Use strict compiler error checking
Fix suspicious sizeof application