Avoid undefined-behavior casts from (potentially negative) double to unsigned
Avoid undefined-behavior casts from (potentially negative) double to unsigned

...which should presumably cast to int anyway, given the values are then passed
as printf %i arguments.

Distrotech/libodfgen,Distrotech/libodfgen,Distrotech/libodfgen