Fixed 2 clang warnings

Special Thanks to mkbu95!

Signed-off-by: shennetsind <ind@henn.et>