main.c: fix compile warning