fetch_cb.c: fixed casts when computing ETA.