[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37224] branches/soc-2011-onion/source/ blender/blenloader/intern/readfile.c: fixed signed/ unsigned mismatch warning

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jun 5 22:44:51 CEST 2011


Revision: 37224
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37224
Author:   jwilkins
Date:     2011-06-05 20:44:50 +0000 (Sun, 05 Jun 2011)
Log Message:
-----------
fixed signed/unsigned mismatch warning

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2011-onion/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2011-onion/source/blender/blenloader/intern/readfile.c	2011-06-05 20:40:10 UTC (rev 37223)
+++ branches/soc-2011-onion/source/blender/blenloader/intern/readfile.c	2011-06-05 20:44:50 UTC (rev 37224)
@@ -1723,7 +1723,6 @@
 static void direct_link_fmodifiers(FileData *fd, ListBase *list)
 {
 	FModifier *fcm;
-	int a;
 	
 	for (fcm= list->first; fcm; fcm= fcm->next) {
 		/* relink general data */
@@ -1739,6 +1738,7 @@
 				data->coefficients= newdataadr(fd, data->coefficients);
 
 				if(fd->flags & FD_FLAGS_SWITCH_ENDIAN) {
+					unsigned a;
 					for(a = 0; a < data->arraysize; a++)
 						SWITCH_INT(data->coefficients[a]);
 				}




More information about the Bf-blender-cvs mailing list