Partially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 18 Apr 2007 09:26:15 +0000 (09:26 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 18 Apr 2007 09:26:15 +0000 (09:26 +0000)
git-svn-id: http://svn.voria.com/code@473 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp

index 58c8964..12b4521 100644 (file)
@@ -161,10 +161,10 @@ Action::ValueNodeDynamicListInsertSmart::prepare()
                // turn on. If not, then we need to go ahead and create one.
                synfig::info("ValueNodeDynamicListInsertSmart: index=%d",index);
                synfig::info("ValueNodeDynamicListInsertSmart: value_node->list.size()=%d",value_node->list.size());
-               if(value_node->list.size()<=index && index>0)
+               if(int(value_node->list.size())<=index && index>0)
                        synfig::info("ValueNodeDynamicListInsertSmart: value_node->list[index-1].status_at_time(time)=%d",value_node->list[index-1].status_at_time(time));
 
-               if(value_node->list.size()>=index && index>0 && !value_node->list[index-1].status_at_time(time))
+               if(int(value_node->list.size())>=index && index>0 && !value_node->list[index-1].status_at_time(time))
                {
                        // Ok, we do not have to create a new
                        // entry in the dynamic list after all.