mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
main/streams/transports.c: remove useless cast (#19330)
The function pointer type declaration requires name to be a const char*
This commit is contained in:
committed by
GitHub
parent
049651dccc
commit
9db21e18ad
@@ -130,7 +130,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, in
|
||||
}
|
||||
|
||||
stream = (factory)(protocol, n,
|
||||
(char*)name, namelen, persistent_id, options, flags, timeout,
|
||||
name, namelen, persistent_id, options, flags, timeout,
|
||||
context STREAMS_REL_CC);
|
||||
|
||||
if (stream) {
|
||||
|
||||
Reference in New Issue
Block a user