Add proper cast to eliminate size mismatch warning
Merge pull request #818 from jbrodman/master

Add proper cast to eliminate size mismatch warning
Fixed Makefile target gcc to use g++ instead of clang