Fix #1124: compile warnings in HelloWorld and Reversi.