From: Gukhwan Cho Date: Thu, 10 Sep 2015 05:33:06 +0000 (+0900) Subject: fixed warning X-Git-Tag: accepted/tizen/mobile/20151119.033537~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=719ca9fb374fc92df8d0d2c973325151e59d05a7;p=platform%2Fcore%2Fpim%2Fcontacts-service.git fixed warning Change-Id: Id6abc2b98e76a94c263ef8c913faafa458325802 Signed-off-by: Gukhwan Cho --- diff --git a/server/db/ctsvc_db_plugin_person.c b/server/db/ctsvc_db_plugin_person.c index ee0ce08..4343c62 100644 --- a/server/db/ctsvc_db_plugin_person.c +++ b/server/db/ctsvc_db_plugin_person.c @@ -188,7 +188,7 @@ static int __ctsvc_db_person_update_record(contacts_record_h record) /* update favorite */ index_favorite = CTSVC_PROPERTY_PERSON_IS_FAVORITE & 0x000000FF; if (person->base.properties_flags && - ctsvc_record_check_property_flag(person, index_favorite, CTSVC_PROPERTY_FLAG_DIRTY)) { + ctsvc_record_check_property_flag((ctsvc_record_s *)person, index_favorite, CTSVC_PROPERTY_FLAG_DIRTY)) { ret = ctsvc_db_person_set_favorite(person->person_id, person->is_favorite, true); if (CONTACTS_ERROR_NONE != ret) { CTS_ERR("ctsvc_db_person_set_favorite() Fail(%d)", ret);