Skip to content

Commit 5168611

Browse files
committed
fix macros
1 parent 2044884 commit 5168611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2420,7 +2420,7 @@ static int _php_curl_setopt(php_curl *ch, php_int_t option, zval **zvalue TSRMLS
24202420
}
24212421
Z_ADDREF_PP(zvalue);
24222422
ch->handlers->read->fp = fp;
2423-
ch->handlers->read->fd = Z_LVAL_PP(zvalue);
2423+
ch->handlers->read->fd = Z_IVAL_PP(zvalue);
24242424
ch->handlers->read->stream = *zvalue;
24252425
}
24262426
break;

0 commit comments

Comments
 (0)