Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- php-7.4.33-o/ext/gd/gd.c
- +++ php-7.4.33/ext/gd/gd.c
- @@ -138,9 +138,9 @@
- static void php_image_filter_scatter(INTERNAL_FUNCTION_PARAMETERS);
- /* End Section filters declarations */
- -static gdImagePtr _php_image_create_from_string (zval *Data, char *tn, gdImagePtr (*ioctx_func_p)());
- -static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)());
- -static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)());
- +static gdImagePtr _php_image_create_from_string (zval *Data, char *tn, gdImagePtr (*ioctx_func_p)(...));
- +static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(...), gdImagePtr (*ioctx_func_p)(...));
- +static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)(...));
- static int _php_image_type(char data[12]);
- static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type);
- @@ -2330,7 +2330,7 @@
- /* {{{ _php_image_create_from_string
- */
- -gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)())
- +gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)(...))
- {
- gdImagePtr im;
- gdIOCtx *io_ctx;
- @@ -2440,7 +2440,7 @@
- /* {{{ _php_image_create_from
- */
- -static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)())
- +static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(...), gdImagePtr (*ioctx_func_p)(...))
- {
- char *file;
- size_t file_len;
- @@ -2667,7 +2667,7 @@
- /* {{{ _php_image_output
- */
- -static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)())
- +static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)(...))
- {
- zval *imgind;
- char *file = NULL;
- --- php-7.4.33-o/ext/gd/gd_ctx.c
- +++ php-7.4.33/ext/gd/gd_ctx.c
- @@ -77,7 +77,7 @@
- } /* }}} */
- /* {{{ _php_image_output_ctx */
- -static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)())
- +static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)(...))
- {
- zval *imgind;
- char *file = NULL;
- --- php-7.4.33-o/ext/standard/scanf.c
- +++ php-7.4.33/ext/standard/scanf.c 2025-05-01 10:03:25.490467498 +0200
- @@ -585,7 +585,7 @@
- int base = 0;
- int underflow = 0;
- size_t width;
- - zend_long (*fn)() = NULL;
- + zend_long (*fn)(...) = NULL;
- char *ch, sch;
- int flags;
- char buf[64]; /* Temporary buffer to hold scanned number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement