Permalink
Browse files

Fix a warning: type is a const rb_data_type_t pointer

  • Loading branch information...
eregon committed Jan 10, 2011
1 parent 1e41506 commit 6249851b645267ee29bee259437339d0f7351176
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/force_bind.c
View
@@ -15,7 +15,7 @@ VALUE
umethod_force_bind(VALUE method, VALUE recv)
{
struct METHOD *data, *bound;
- rb_data_type_t *type;
+ const rb_data_type_t *type;
type = RTYPEDDATA_TYPE(method);
TypedData_Get_Struct(method, struct METHOD, type, data);

0 comments on commit 6249851

Please sign in to comment.