Update resize.c

Fix compiler forbidden warnings