Update resize.c

Update resize.c