diff options
author | Michael Wallner <mike@php.net> | 2013-08-14 14:42:36 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-08-27 13:43:22 +0200 |
commit | bb1f9d3826c968ce0c099598ded6f646b3da6429 (patch) | |
tree | 22f88cf937d8909ef099797198b6ccb114cffa57 /main/php_streams.h | |
parent | a13c00cd14179971efd60e8acb450a615c2aff22 (diff) | |
download | php-git-bb1f9d3826c968ce0c099598ded6f646b3da6429.tar.gz |
slim post data
Diffstat (limited to 'main/php_streams.h')
-rw-r--r-- | main/php_streams.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index c56014c62e..c9732b4848 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -242,7 +242,7 @@ PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, END_EXTERN_C() #define php_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (persistent_id), (mode) STREAMS_CC TSRMLS_CC) -#define php_stream_get_resource_id(stream) (stream)->rsrc_id +#define php_stream_get_resource_id(stream) ((php_stream *)(stream))->rsrc_id #if ZEND_DEBUG /* use this to tell the stream that it is OK if we don't explicitly close it */ # define php_stream_auto_cleanup(stream) { (stream)->__exposed++; } |