From: Daniel Stenberg Date: Fri, 13 Feb 2004 12:16:24 +0000 (+0000) Subject: use CURLcode, not int, prevents picky compilers to warn X-Git-Tag: cares-1_1_0~282 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d17e77532934c9db2956083eb76821e01e98f0f;p=curl use CURLcode, not int, prevents picky compilers to warn --- 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 */