summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/msgformat/msgformat.c')
-rw-r--r--ext/intl/msgformat/msgformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c
index cfe6538f0a..b9f6c7a369 100644
--- a/ext/intl/msgformat/msgformat.c
+++ b/ext/intl/msgformat/msgformat.c
@@ -144,7 +144,7 @@ PHP_FUNCTION( msgfmt_get_error_code )
mfo = Z_INTL_MESSAGEFORMATTER_P( object );
/* Return formatter's last error code. */
- RETURN_INT( INTL_DATA_ERROR_CODE(mfo) );
+ RETURN_LONG( INTL_DATA_ERROR_CODE(mfo) );
}
/* }}} */