str = (*env)->GetStringUTFChars(env,mgrs,0);
//set managers
- dp->mgrs=str;
+ dp->mgrs=(char *)str;
flag_ok = 1;
} while (0);
// setting object's fields
/////////////////////////////////////////////////
// set topic
- if(!setTopic(env,cls_pp,obj_pp,publ_prop->topic))
+ if(!setTopic(env,cls_pp,obj_pp,(const char *)publ_prop->topic))
{
#ifdef TEST_STAGE
printf(":!c: setTopic() failed! \n");
}
/////////////////////////////////////////////////
// set type
- if(!setType(env,cls_pp,obj_pp,publ_prop->typeName))
+ if(!setType(env,cls_pp,obj_pp,(const char *)publ_prop->typeName))
{
#ifdef TEST_STAGE
printf(":!c: setType() failed! \n");
// setting object's fields
/////////////////////////////////////////////////
// set topic
- if(!setTopic(env,cls_sp,obj_sp,subs_prop->topic))
+ if(!setTopic(env,cls_sp,obj_sp,(const char *)subs_prop->topic))
{
#ifdef TEST_STAGE
printf(":!c: setTopic() failed! \n");
}
/////////////////////////////////////////////////
// set type
- if(!setType(env,cls_sp,obj_sp,subs_prop->typeName))
+ if(!setType(env,cls_sp,obj_sp,(const char *)subs_prop->typeName))
{
#ifdef TEST_STAGE
printf(":!c: setType() failed! \n");