/*! \file valuenodedynamiclistinsertsmart.cpp
** \brief Template File
**
-** $Id: valuenodedynamiclistinsertsmart.cpp,v 1.3 2005/01/17 05:20:08 darco Exp $
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListInsertSmart,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListInsertSmart,-20);
ACTION_SET_VERSION(Action::ValueNodeDynamicListInsertSmart,"0.0");
-ACTION_SET_CVS_ID(Action::ValueNodeDynamicListInsertSmart,"$Id: valuenodedynamiclistinsertsmart.cpp,v 1.3 2005/01/17 05:20:08 darco Exp $");
+ACTION_SET_CVS_ID(Action::ValueNodeDynamicListInsertSmart,"$Id$");
/* === G L O B A L S ======================================================= */
// 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.