aboutsummaryrefslogtreecommitdiffstats
path: root/enc/shift_jis.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/shift_jis.c')
-rw-r--r--enc/shift_jis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/shift_jis.c b/enc/shift_jis.c
index ba1fde32e8..d5d631e5c5 100644
--- a/enc/shift_jis.c
+++ b/enc/shift_jis.c
@@ -294,11 +294,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);
}