httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c
Date Wed, 06 Oct 2004 14:15:51 GMT
Jeff Trawick wrote:
>>
>>Please do not do that any more. I'm sorry but I'm vetoing your patches.
>>Use the official API, it is well documented.
> 
> 
> strlen() returns size_t, TextOut() requires int; somewhere a cast is
> required, no?  what is a better solution?
> 
> 

That's true, but the strlen can never be int (negative).
The API is DWORD meaning 32 bit unsigned integer, so either
cast to API or no cast.

MT.

Mime
View raw message