Code cleanup: warnings

This commit is contained in:
Campbell Barton
2014-02-15 18:21:07 +11:00
parent 56f6bc06d3
commit 004decc1d9
5 changed files with 7 additions and 9 deletions

View File

@@ -240,7 +240,7 @@ MINLINE unsigned short highest_order_bit_s(unsigned short n);
MINLINE float shell_angle_to_dist(const float angle);
#if (defined(WIN32) || defined(WIN64)) && !defined(FREE_WINDOWS)
#if defined(MSC_VER) && (MSC_VER < 1800)
extern double copysign(double x, double y);
extern double round(double x);
#endif

View File

@@ -2143,7 +2143,7 @@ void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
void RNA_def_property_update_runtime(PropertyRNA *prop, const void *func)
{
prop->update = func;
prop->update = (void *)func;
}
void RNA_def_property_dynamic_array_funcs(PropertyRNA *prop, const char *getlength)