]> granicus.if.org Git - php/commitdiff
MFH: 64 bit stuff.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 6 Jan 2004 00:56:10 +0000 (00:56 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 6 Jan 2004 00:56:10 +0000 (00:56 +0000)
main/SAPI.c

index ebe6320090468761b10249286a0fd3e65b13f5b0..6fca2f9fa1b9f87645ff55fd6cd98771e8a160d7 100644 (file)
@@ -508,7 +508,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC)
 
        switch (op) {
        case SAPI_HEADER_SET_STATUS:
-               sapi_update_response_code((int) arg TSRMLS_CC);
+               sapi_update_response_code((long) arg TSRMLS_CC);
                return SUCCESS;
 
        case SAPI_HEADER_REPLACE: