diff -ru gsd-1.2.2/src/gsd_control.cpp gsd-1.2.2.new/src/gsd_control.cpp --- gsd-1.2.2/src/gsd_control.cpp 2012-04-20 23:23:00.000000000 +0200 +++ gsd-1.2.2.new/src/gsd_control.cpp 2012-04-23 11:33:22.250272013 +0200 @@ -1405,7 +1405,7 @@ model_omp_entity *m, QMapparameter) { - this->connector->modifyEntity (type, id, m, parameter); + this->connector->modifyEntity ((omp_utilities::omp_type)type, id, m, parameter); } @@ -2355,7 +2355,7 @@ gsd_control::create (int type, QMap parameter) { model_omp_entity *m = new model_omp_entity(); - connector->createEntity(type, m, parameter); + connector->createEntity((omp_utilities::omp_type)type, m, parameter); } /** Only in gsd-1.2.2.new/src: gsd_control.cpp.orig diff -ru gsd-1.2.2/src/omp_utilities.h gsd-1.2.2.new/src/omp_utilities.h --- gsd-1.2.2/src/omp_utilities.h 2012-04-20 23:23:00.000000000 +0200 +++ gsd-1.2.2.new/src/omp_utilities.h 2012-04-23 11:33:22.313270764 +0200 @@ -49,7 +49,7 @@ omp_utilities (); ~omp_utilities (); - enum omp_type_t + enum omp_type { NONE = 0, AGENT = 1, @@ -76,7 +76,7 @@ PORT_LIST = 22, PORT_RANGE = 23 }; - typedef int omp_type; + /* typedef omp_type_t omp_type; */ enum omp_entity_command { @@ -89,7 +89,7 @@ OMP_PREFERENCES =36, OMP_EXPORT = 37, }; - typedef int omp_entity_command; + /* typedef int omp_entity_command; */ enum omp_task_command { @@ -99,7 +99,8 @@ RESUME_STOPPED = 43, RESUME_PAUSED = 44, }; - typedef int omp_task_command; + /* typedef int omp_task_command; */ + int checkResponse (QString response); omp_type getType (QString); Only in gsd-1.2.2.new/src: omp_utilities.h.orig