fix build

This commit is contained in:
Hannes Magnusson 2006-10-07 21:12:09 +00:00
parent 36883fc891
commit 2156a8b05e

View File

@ -126,7 +126,7 @@ PHP_FUNCTION(shmop_open)
}
if (flag_type == IS_UNICODE) {
flags = zend_unicode_to_ascii((UChar*)flags, flags_len);
flags = zend_unicode_to_ascii((UChar*)flags, flags_len TSRMLS_CC);
if (!flags) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Binary or ASCII-Unicode string expected, non-ASCII-Unicode string received");
RETURN_FALSE;