Update response.c

fix params type