Skip to content

Commit

Permalink
Use gint instead of char
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro615 committed May 11, 2019
1 parent 2830c08 commit e7d8186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_glib/arrow-glib/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ garrow_json_read_options_get_property(GObject *object,
g_value_set_boolean(value, priv->parse_options.newlines_in_values);
break;
case PROP_JSON_READER_UNEXPECTED_FIELD_BEHAVIOR:
g_value_set_enum(value, static_cast<char>(priv->parse_options.unexpected_field_behavior));
g_value_set_enum(value, static_cast<int>(priv->parse_options.unexpected_field_behavior));
break;
case PROP_JSON_READER_SCHEMA:
if (priv->schema) {
Expand Down

0 comments on commit e7d8186

Please sign in to comment.