summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r--main/rfc1867.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 802ded822a..abba25c221 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -446,8 +446,8 @@ static void php_mime_split(char *buf, int cnt, char *boundary, int len, zval *ar
{
zval file_size;
- file_size.value.lval = bytes;
- file_size.type = IS_LONG;
+ Z_LVAL(file_size) = bytes;
+ Z_TYPE(file_size) = IS_LONG;
/* Add $foo_size */
if(is_arr_upload) {