summaryrefslogtreecommitdiff
path: root/ext/intl/calendar/calendar_class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/calendar/calendar_class.cpp')
-rw-r--r--ext/intl/calendar/calendar_class.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/calendar/calendar_class.cpp b/ext/intl/calendar/calendar_class.cpp
index 497279e090..99828c43ea 100644
--- a/ext/intl/calendar/calendar_class.cpp
+++ b/ext/intl/calendar/calendar_class.cpp
@@ -168,7 +168,7 @@ static HashTable *Calendar_get_debug_info(zval *object, int *is_temp TSRMLS_DC)
add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 1);
add_assoc_string_ex(&zv, "type", sizeof("type"),
- const_cast<char*>(cal->getType()), 1);
+ const_cast<char*>(cal->getType()));
{
zval ztz = zval_used_for_init,
@@ -191,10 +191,10 @@ static HashTable *Calendar_get_debug_info(zval *object, int *is_temp TSRMLS_DC)
Locale locale = cal->getLocale(ULOC_VALID_LOCALE, uec);
if (U_SUCCESS(uec)) {
add_assoc_string_ex(&zv, "locale", sizeof("locale"),
- const_cast<char*>(locale.getName()), 1);
+ const_cast<char*>(locale.getName()));
} else {
add_assoc_string_ex(&zv, "locale", sizeof("locale"),
- const_cast<char*>(u_errorName(uec)), 1);
+ const_cast<char*>(u_errorName(uec)));
}
}
@@ -210,7 +210,7 @@ static HashTable *Calendar_get_debug_info(zval *object, int *is_temp TSRMLS_DC)
if (U_SUCCESS(uec)) {
add_assoc_long(zfields, name, (long)res);
} else {
- add_assoc_string(zfields, name, const_cast<char*>(u_errorName(uec)), 1);
+ add_assoc_string(zfields, name, const_cast<char*>(u_errorName(uec)));
}
}