2.5 / RNA

* two more small warning fixes.
This commit is contained in:
Nathan Letwory
2008-12-26 02:06:54 +00:00
parent 1d3670417b
commit 27d0394ba4

View File

@@ -390,7 +390,7 @@ void RNA_property_float_ui_range(PointerRNA *ptr, PropertyRNA *prop, float *soft
}
*step= fprop->step;
*precision= fprop->precision;
*precision= (float)fprop->precision;
}
int RNA_property_string_maxlength(PointerRNA *ptr, PropertyRNA *prop)
@@ -800,7 +800,7 @@ void RNA_property_string_set(PointerRNA *ptr, PropertyRNA *prop, const char *val
IDPropertyTemplate val;
IDProperty *group;
val.str= value;
val.str= (char*)value;
group= rna_idproperties_get(ptr->type, ptr->data, 1);
if(group)