#ifdef _CONTACTS_IPC_CLIENT
static int __ctsvc_vcard_append_person(ctsvc_person_s *person, ctsvc_list_s *list_contacts, char **buf, int *buf_size, int len)
{
- int changed_time = 0;
+ time_t changed_time = 0;
ctsvc_contact_s *contact;
GList *cursor = NULL;
if (changed_time) {
struct tm ts;
- gmtime_r((time_t*)&changed_time, &ts);
+ gmtime_r(&changed_time, &ts);
char temp[VCARD_ITEM_LENGTH] = {0};
snprintf(temp, sizeof(temp), "%s:%04d-%02d-%02dT%02d:%02d:%02dZ%s",
content_name[CTSVC_VCARD_VALUE_REV],