[Bf-blender-cvs] [7213006cef2] temp-eeveelightcache: Fix warning

Clément Foucault noreply at git.blender.org
Thu Jun 28 15:55:00 CEST 2018


Commit: 7213006cef22453fe20c5bf1dd1d23d1a270249b
Author: Clément Foucault
Date:   Mon Jun 25 17:39:09 2018 +0200
Branches: temp-eeveelightcache
https://developer.blender.org/rB7213006cef22453fe20c5bf1dd1d23d1a270249b

Fix warning

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 5fe49f7ec7c..9b5dd33c82e 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2345,7 +2345,7 @@ static void direct_link_id(FileData *fd, ID *id)
 
 	DrawDataList *drawdata = DRW_drawdatalist_from_id(id);
 	if (drawdata) {
-		BLI_listbase_clear(drawdata);
+		BLI_listbase_clear((ListBase *)drawdata);
 	}
 }



More information about the Bf-blender-cvs mailing list