--- ExecuteList.cpp 2005-12-02 18:17:06.000000000 +0530 +++ ExecuteList_new.cpp 2010-08-31 10:43:19.481635987 +0530 @@ -123,12 +123,12 @@ int sel = 0; if (crontabs->count() > 1 && cron != NULL) foreach(Execute *e, executes) - if ( (int)(e->tCommands->parent) == (int)cron ) + if ( (long int)(e->tCommands->parent) == (long int)cron ) e->sel = 1; if (cmnd != NULL) foreach(Execute *e, executes) - if ((int)e->tCommands == (int)cmnd) { + if ((long int)e->tCommands == (long int)cmnd) { e->sel = 2; sel++; }