Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-12-26 05:06:54 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-12-26 05:06:54 +0300
commit27d0394ba47fdc6c65ec2f3920b52c64264879c2 (patch)
tree16848c2f3a86aab5457125b1458aba46ac6117de /source/blender/makesrna
parent1d3670417b870f806466253ee2d3d0726052f2e2 (diff)
2.5 / RNA
* two more small warning fixes.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 7c2788e8f9b..13b8a34356d 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -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)