* fixing concept of phpstr dtor/free
[m6w6/ext-http] / http_methods.c
index ded27ff88ee5313b10fcb2b020ee1f320ee5cb9f..d22ae96e912c00c050ef0cc7f3c55492e9805ab9 100644 (file)
@@ -478,7 +478,7 @@ PHP_METHOD(HttpResponse, send)
                zval *dispo_file = GET_PROP(obj, dispoFile);
                if (Z_STRLEN_P(dispo_file)) {
                        zval *dispo_inline = GET_PROP(obj, dispoInline);
-                       http_send_content_disposition(Z_STRVAL_P(dispo_file), Z_STRLEN_P(dispo_file), Z_LVAL_P(dispo_inline));
+                       http_send_content_disposition(Z_STRVAL_P(dispo_file), Z_STRLEN_P(dispo_file), (zend_bool) Z_LVAL_P(dispo_inline));
                }
        }