Fix warnings -ansi -pedantic -Wno-long-long -Wall

Detected by Mladen on HPUX.