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]);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs