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/QCamera3HWI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camera/QCamera2/HAL3/QCamera3HWI.cpp') diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp index 754a60e..228fee5 100644 --- a/camera/QCamera2/HAL3/QCamera3HWI.cpp +++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp @@ -5927,7 +5927,7 @@ void QCamera3HardwareInterface::dumpMetadataToFile(tuning_params_t &meta, type, frameNumber); filePath.append(buf); - int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); + int file_fd = open(filePath.c_str(), O_RDWR | O_CREAT, 0777); if (file_fd >= 0) { ssize_t written_len = 0; meta.tuning_data_version = TUNING_DATA_VERSION; -- cgit v1.2.3