fix compile warnings
authorMike Erwin <significant.bit@gmail.com>
Tue, 11 Apr 2017 23:35:30 +0000 (19:35 -0400)
committerMike Erwin <significant.bit@gmail.com>
Tue, 11 Apr 2017 23:35:30 +0000 (19:35 -0400)
source/blender/draw/intern/draw_manager.c

index a2f25f604a4c3e60e9f424862ec331e4fc9200eb..fdf99f906c65ed29554236a959e6faf5b9a3fec7 100644 (file)
@@ -582,7 +582,7 @@ void DRW_shgroup_dynamic_call_add_array(DRWShadingGroup *shgroup, const void *at
 
        BLI_assert(attr_len == interface->attribs_count);
 
-       memcpy(call->data, attr, data_size);
+       memcpy((void *) call->data, attr, data_size);
 
        interface->instance_count += 1;
 
@@ -1441,7 +1441,7 @@ LampEngineData *DRW_lamp_engine_data_get(Object *ob, RenderEngineType *engine_ty
 
 void DRW_lamp_engine_data_free(LampEngineData *led)
 {
-       return GPU_lamp_engine_data_free(led);
+       GPU_lamp_engine_data_free(led);
 }
 
 /* **************************************** RENDERING ************************************** */