Update gitignore

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Fix -Wformat warnings and deprecated string conversions

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>