summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-13 15:27:09 +0000
committerArd Biesheuvel <abies@php.net>2003-09-13 15:27:09 +0000
commit6f377333670e4835fdfb61c141ea8fea288a8036 (patch)
treea1df955b88400e1af4be74239f2688d377d8c638 /main/SAPI.c
parent2a68d3c19ed8c11695105261e6363320d230fb16 (diff)
downloadphp-git-6f377333670e4835fdfb61c141ea8fea288a8036.tar.gz
Fixed for 64bit archs
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 17755dda1f..c11a8b4037 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -517,7 +517,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: