From: dooglus Date: Wed, 18 Apr 2007 09:26:15 +0000 (+0000) Subject: Partially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=df2d2e5dba916f699d4753ab13b23b3764f6c711;p=synfig.git Partially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart.cpp. git-svn-id: http://svn.voria.com/code@473 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp b/synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp index 58c8964..12b4521 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp @@ -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.