aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-13 12:16:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-13 12:16:24 +0000
commit4d17e77532934c9db2956083eb76821e01e98f0f (patch)
treeb6d2704068cca939ab932512fa1da026ba363e58
parent6a921197e2170759e9b7bb674eed3e6ace5f3a07 (diff)
use CURLcode, not int, prevents picky compilers to warn
-rw-r--r--lib/content_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/content_encoding.c b/lib/content_encoding.c
index 4ccef4834..496af07d2 100644
--- a/lib/content_encoding.c
+++ b/lib/content_encoding.c
@@ -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 */