summaryrefslogtreecommitdiff
path: root/enc/euc_jp.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/euc_jp.c')
-rw-r--r--enc/euc_jp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/euc_jp.c b/enc/euc_jp.c
index 703e0e4f38..6bb4b83f5e 100644
--- a/enc/euc_jp.c
+++ b/enc/euc_jp.c
@@ -285,11 +285,11 @@ init_property_list(void)
static int
property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end)
{
- int ctype;
+ st_data_t ctype;
PROPERTY_LIST_INIT_CHECK;
- if (onig_st_lookup_strend(PropertyNameTable, p, end, (void*)&ctype) == 0) {
+ if (onig_st_lookup_strend(PropertyNameTable, p, end, &ctype) == 0) {
return onigenc_minimum_property_name_to_ctype(enc, p, end);
}