use CURLcode, not int, prevents picky compilers to warn

This commit is contained in:
Daniel Stenberg 2004-02-13 12:16:24 +00:00
parent 6a921197e2
commit 4d17e77532
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Curl_unencode_deflate_write(struct SessionHandle *data,
ssize_t nread)
{
int status; /* zlib status */
int result = CURLE_OK; /*?*/ /* Curl_client_write status */
CURLcode result = CURLE_OK; /*?*/ /* Curl_client_write status */
char decomp[DSIZ]; /* Put the decompressed data here. */
z_stream *z = &k->z; /* zlib state structure */