- 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 9c5747cbe4e4f3be861e9eba68561ac0b354f54c..7be1968e18b3b76fa88d18e5d9f084c9e0ee81d6 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);