]> granicus.if.org Git - php/commitdiff
rename macro argument so that it does not partially match the string.
authorSascha Schumann <sas@php.net>
Thu, 27 Feb 2003 10:07:12 +0000 (10:07 +0000)
committerSascha Schumann <sas@php.net>
Thu, 27 Feb 2003 10:07:12 +0000 (10:07 +0000)
fixes a warning on unixware

main/php_streams.h

index 2bc6468cfc4e98f1e69f1f7335a15badc8236a37..bcb6c33f474268da2a1ece3f7faae4da011528d9 100755 (executable)
@@ -234,8 +234,8 @@ PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract,
 # define php_stream_to_zval(stream, zval)      { ZVAL_RESOURCE(zval, (stream)->rsrc_id); }
 #endif
 
-#define php_stream_from_zval(str, ppzval)      ZEND_FETCH_RESOURCE2((str), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream())
-#define php_stream_from_zval_no_verify(str, ppzval)    (str) = (php_stream*)zend_fetch_resource((ppzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream())
+#define php_stream_from_zval(xstr, ppzval)     ZEND_FETCH_RESOURCE2((xstr), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream())
+#define php_stream_from_zval_no_verify(xstr, ppzval)   (xstr) = (php_stream*)zend_fetch_resource((ppzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream())
 
 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream TSRMLS_DC);
 #define PHP_STREAM_PERSISTENT_SUCCESS  0 /* id exists */