Compiler warnings fixed for Mac OS X compiler.