[Bf-blender-cvs] [901fc29df18] master: Cleanup: Fix compile warnings on windows
Hans Goudey
noreply at git.blender.org
Sun May 15 11:46:42 CEST 2022
Commit: 901fc29df18b2f4b7f45ee34b7baac8335f94338
Author: Hans Goudey
Date: Sun May 15 11:46:38 2022 +0200
Branches: master
https://developer.blender.org/rB901fc29df18b2f4b7f45ee34b7baac8335f94338
Cleanup: Fix compile warnings on windows
===================================================================
M source/blender/draw/intern/draw_cache_impl_particles.c
===================================================================
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c
index 442625640d5..c1d609bf648 100644
--- a/source/blender/draw/intern/draw_cache_impl_particles.c
+++ b/source/blender/draw/intern/draw_cache_impl_particles.c
@@ -1306,10 +1306,10 @@ static void particle_batch_cache_ensure_pos_and_seg(PTCacheEdit *edit,
MEM_freeN(parent_mcol);
}
if (num_uv_layers) {
- MEM_freeN(mtfaces);
+ MEM_freeN((void *)mtfaces);
}
if (num_col_layers) {
- MEM_freeN(mcols);
+ MEM_freeN((void *)mcols);
}
if (psmd != NULL) {
MEM_freeN(uv_id);
More information about the Bf-blender-cvs
mailing list