- fix win32 build
authorMichael Wallner <mike@php.net>
Tue, 28 Nov 2006 07:40:25 +0000 (07:40 +0000)
committerMichael Wallner <mike@php.net>
Tue, 28 Nov 2006 07:40:25 +0000 (07:40 +0000)
http_send_api.c

index 9c5747c..7be1968 100644 (file)
@@ -119,7 +119,7 @@ static inline void _http_send_response_data_fetch(void **buffer, const void *dat
                        break;
                }
                case SEND_DATA: {
-                       const char *buf = data + begin;
+                       const char *buf = ((const char *) data) + begin;
                        while (len > 0) {
                                got = MIN(len, bsz);
                                http_send_response_data_plain(buffer, buf, got);