Silence a number of compiler warnings.

My guess is that @vohi has an old GCC version, I believe recent ones don't complain. Personally I prefer old versions complaining, in order for new versions to catch a possible bug some day.