Update splice.c

compiling errors.