Fix warnings -ansi -pedantic -Wno-long-long -Wall
Detected by Mladen on HPUX.
Merge pull request #21 from jfclere/1.2.x

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