add a cast to https-client.c

This commit is contained in:
Nick Mathewson 2014-03-12 12:45:41 -04:00
parent 2b41bcf8ea
commit 462e6b609b

View File

@ -402,7 +402,7 @@ main(int argc, char **argv)
evbuffer_add(output_buffer, buf, s);
bytes += s;
}
evutil_snprintf(buf, sizeof(buf)-1, "%lu", bytes);
evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes);
evhttp_add_header(output_headers, "Content-Length", buf);
fclose(f);
}