Fixes compiler warning for main.c