genpipe.c: fixed compiler warning