Fix Compiler Warning (Undefined bahaviour)