Reduce number of compiler warnings

It seems to me the development of the project has stopped.
There is no activity on the mailing list since Jan. 2013. http://lists.maptools.org/pipermail/shapelib/