mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
/wrkdirs/usr/ports/net/pecl-smbclient/work-php80/smbclient-1.1.1/smb_streams.c:328:2: error: incompatible function pointer types initializing 'int (*)(php_stream *, zend_off_t, int, zend_off_t *)' (aka 'int (*)(struct _php_stream *, int, int, int *)') with an expression of type 'int (php_stream *, off_t, int, off_t *)' (aka 'int (struct _php_stream *, long long, int, long long *)') [-Wincompatible-function-pointer-types] php_smb_ops_seek, ^~~~~~~~~~~~~~~~ 1 error generated.
11 lines
407 B
C
11 lines
407 B
C
--- smb_streams.c.orig 2023-04-17 03:27:10 UTC
|
|
+++ smb_streams.c
|
|
@@ -270,7 +270,7 @@ static int php_smb_ops_stat(php_stream *stream, php_st
|
|
return 0;
|
|
}
|
|
|
|
-static int php_smb_ops_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC)
|
|
+static int php_smb_ops_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset TSRMLS_DC)
|
|
{
|
|
STREAM_DATA_FROM_STREAM();
|
|
|