common: fix some warnings

Signed-off-by: Tim Blechmann <tim@klingt.org>