diff options
Diffstat (limited to 'ext/intl/collator/collator_error.c')
-rw-r--r-- | ext/intl/collator/collator_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/collator/collator_error.c b/ext/intl/collator/collator_error.c index acfa43c498..fb8886ef64 100644 --- a/ext/intl/collator/collator_error.c +++ b/ext/intl/collator/collator_error.c @@ -1,6 +1,6 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -48,7 +48,7 @@ PHP_FUNCTION( collator_get_error_code ) RETURN_FALSE; /* Return collator's last error code. */ - RETURN_INT( COLLATOR_ERROR_CODE( co ) ); + RETURN_LONG( COLLATOR_ERROR_CODE( co ) ); } /* }}} */ |