pi_http: fix compiler warning