From e394d17751ded0dbb60b2d75b4f6d4cca5e61bc1 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sun, 13 Oct 2024 14:21:42 +0530 Subject: get compilation working --- camera/QCamera2/HAL3/QCamera3PostProc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'camera/QCamera2/HAL3/QCamera3PostProc.cpp') diff --git a/camera/QCamera2/HAL3/QCamera3PostProc.cpp b/camera/QCamera2/HAL3/QCamera3PostProc.cpp index be53d4a..6405d76 100644 --- a/camera/QCamera2/HAL3/QCamera3PostProc.cpp +++ b/camera/QCamera2/HAL3/QCamera3PostProc.cpp @@ -2625,17 +2625,17 @@ QCamera3Exif *QCamera3PostProcessor::getExifData(metadata_buffer_t *metadata, rc = getExifDateTime(dateTime, subsecTime); if (rc == NO_ERROR) { exif->addEntry(EXIFTAGID_DATE_TIME, EXIF_ASCII, - (uint32_t)(dateTime.length() + 1), (void *)dateTime.string()); + (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str()); exif->addEntry(EXIFTAGID_EXIF_DATE_TIME_ORIGINAL, EXIF_ASCII, - (uint32_t)(dateTime.length() + 1), (void *)dateTime.string()); + (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str()); exif->addEntry(EXIFTAGID_EXIF_DATE_TIME_DIGITIZED, EXIF_ASCII, - (uint32_t)(dateTime.length() + 1), (void *)dateTime.string()); + (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str()); exif->addEntry(EXIFTAGID_SUBSEC_TIME, EXIF_ASCII, - (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string()); + (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str()); exif->addEntry(EXIFTAGID_SUBSEC_TIME_ORIGINAL, EXIF_ASCII, - (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string()); + (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str()); exif->addEntry(EXIFTAGID_SUBSEC_TIME_DIGITIZED, EXIF_ASCII, - (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string()); + (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str()); } else { LOGW("getExifDateTime failed"); } -- cgit v1.2.3