summaryrefslogtreecommitdiff
path: root/ext/intl/formatter
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-10-20 22:32:20 -0700
committerStanislav Malyshev <stas@php.net>2013-10-20 22:32:20 -0700
commitef9069b4ef71ecf1b514e7f8544f0d470e00dca5 (patch)
tree0d76d997d40e710754eb39b6483a8395a62064ae /ext/intl/formatter
parent42cb9ac7a6b0a8df2ae9d44d33cd6e33b973de8e (diff)
downloadphp-git-ef9069b4ef71ecf1b514e7f8544f0d470e00dca5.tar.gz
fix const warnings in intl methods
Diffstat (limited to 'ext/intl/formatter')
-rw-r--r--ext/intl/formatter/formatter_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_main.c b/ext/intl/formatter/formatter_main.c
index d0671a88b5..0a568472c4 100644
--- a/ext/intl/formatter/formatter_main.c
+++ b/ext/intl/formatter/formatter_main.c
@@ -27,7 +27,7 @@
/* {{{ */
static void numfmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
{
- char* locale;
+ const char* locale;
char* pattern = NULL;
int locale_len = 0, pattern_len = 0;
long style;