A fix for gcc.

Signed-off-by: Pavel Karban <karban@kte.zcu.cz>