apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sanchez <wsanc...@mit.edu>
Subject Re: cvs commit: apr/include apr_strings.h
Date Thu, 25 Jul 2002 15:38:30 GMT
   strtoll returns long long and we're returning something else.  Maybe I'm too anal.

	-wsv


On Wednesday, July 24, 2002, at 07:35  PM, Justin Erenkrantz wrote:

> On Wed, Jul 24, 2002 at 11:31:57PM -0000, wsanchez@apache.org wrote:
>>   @@ -233,17 +233,17 @@
>>    }
>>    #endif
>>
>>   -APR_DECLARE(long long) apr_strtoll(const char *buf, char **end, int base)
>>   +APR_DECLARE(apr_int64_t) apr_strtoll(const char *buf, char **end, int base)
>>    {
>>    #if (APR_HAVE_STRTOLL)
>>   -    return strtoll(buf, end, base);
>>   +    return (apr_int64_t)strtoll(buf, end, base);
>
> Do we really need a cast here?  -- justin


Mime
View raw message