Got rid of compiler warnings.

(gcc with "-pedantic" uses the C89 (C90?) standard, and this code uses some C99 features.)