int imageId = -1;
int imageId2 = -1;
- for (unsigned int i = count2 - 1; i >= 0; i--)
+ for (int i = (int)count2 - 1; i >= 0; i--)
{
contacts_record_get_child_record_at_p(recordHandle, _contacts_contact.image, i, &imageHandle);
contacts_record_get_int(imageHandle, _contacts_image.id, &imageId);
bool matchFound = false;
- for (int j = 0; j < count; j++)
+ for (unsigned int j = 0; j < count; j++)
{
contacts_record_get_child_record_at_p(newRecordHandle, _contacts_contact.image, i, &imageHandle2);
contacts_record_get_int(imageHandle2, _contacts_image.id, &imageId2);
int imageId = -1;
int imageId2 = -1;
- for (int i = count2 - 1; i >= 0; i--)
+ for (int i = (int)count2 - 1; i >= 0; i--)
{
contacts_record_get_child_record_at_p(recordHandle, _contacts_contact.image, i, &imageHandle);
contacts_record_get_int(imageHandle, _contacts_image.id, &imageId);
bool matchFound = false;
- for (int j = 0; j < count; j++)
+ for (unsigned int j = 0; j < count; j++)
{
contacts_record_get_child_record_at_p(newRecordHandle, _contacts_contact.image, i, &imageHandle2);
contacts_record_get_int(imageHandle2, _contacts_image.id, &imageId2);
char* pCharValue = null;
String tempPath;
- for (int i = 0; i < count; i++)
+ for (unsigned int i = 0; i < count; i++)
{
contacts_record_get_child_record_at_p(copyRecordHandle, _contacts_contact.image, i, &tempHandle);
contacts_record_get_str(tempHandle, _contacts_image.path, &pCharValue);
tempPath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/temp";
- tempPath.Append(i);
+ tempPath.Append((int)i);
tempPath.Append(L".jpg");
String servicePath(pCharValue);
ret = contacts_db_replace_record(copyRecordHandle, contactId);
contacts_record_destroy(copyRecordHandle, true);
- for (int i = 0; i < count; i++)
+ for (unsigned int i = 0; i < count; i++)
{
tempPath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/temp";
- tempPath.Append(i);
+ tempPath.Append((int)i);
tempPath.Append(L".jpg");
File::Remove(tempPath);