Code cleanup: warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user