httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: Windows IA64 builds
Date Mon, 13 Sep 2004 05:09:20 GMT
At 05:05 PM 9/12/2004, you wrote:
>-AP_DECLARE(long) ap_get_client_block(request_rec *r, char *buffer, apr_size_t bufsiz);
>+AP_DECLARE(apr_ssize_t) ap_get_client_block(request_rec *r, char *buffer, apr_size_t
>Don't know why long was used here, but it causes a warning
>for Windows IA64 build since long is 32 bits. I'm wondering
>however if there are any other 64 bit platforms that also have
>32 bit longs that have ignored this warning. Hopefully not
>and therefore this would be safe for backport to 2.0. Anyone
>have information to the contrary?

On (most/all?) unixes - sizeof(long) == sizeof(void*).

On Win64, we have sizeof(long) < sizeof(void*).  That's the
discrepancy you are observing, and why it wasn't recognized.

View raw message