apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Warning in strings/apr_snprintf.c
Date Fri, 23 May 2008 01:39:28 GMT
On Wed, 2008-05-21 at 07:50 +1000, Bojan Smojver wrote:
> I'm getting this (APR 1.2.x):
> -------------------------------------
> strings/apr_snprintf.c: In function 'apr_vformatter':
> strings/apr_snprintf.c:1253: warning: comparison with string literal
> results in unspecified behavior
> -------------------------------------
> 
> The line is:
> -------------------------------------
> if (prefix_char != NUL && s != S_NULL && s != char_buf)
> -------------------------------------
> 
> Where s is pointer to char and S_NULL defined as "null".
> 
> We really want to do this here, right? Just checking...

Ping...

-- 
Bojan


Mime
View raw message