Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2011-06-05 22:00:24 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2011-06-05 22:00:24 +0400
commita580b5ec80d5c0744b63f9b7e8048c0f16681a38 (patch)
tree6a323f664280b156baebbc5e6ab78593303c76df /source
parent68a3303013de4bad2d166c7a2b7b1dc44668dc64 (diff)
fixed warning, signed/unsigned mismatch, blo/readfile.c line 1742
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index bef56aabbe8..a01b8b58c82 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1723,7 +1723,6 @@ static void lib_link_fcurves(FileData *fd, ID *id, ListBase *list)
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 @@ static void direct_link_fmodifiers(FileData *fd, ListBase *list)
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]);
}