keep the style

bracket should be after "case * :" in the same line
warning cleaned

cast from size_t to int added
Merge pull request #101 from sergot/master

warning cleaned, style correction