aboutsummaryrefslogtreecommitdiff
path: root/camera/QCamera2/HAL3/QCamera3HWI.cpp
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-13 14:21:42 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-13 14:21:42 +0530
commite394d17751ded0dbb60b2d75b4f6d4cca5e61bc1 (patch)
tree3b723581b08be2218898b6c67a6f4ef3988e6549 /camera/QCamera2/HAL3/QCamera3HWI.cpp
parent4d671fec381d5159b4112868cad40b72b50ec2c1 (diff)
get compilation working
Diffstat (limited to 'camera/QCamera2/HAL3/QCamera3HWI.cpp')
-rw-r--r--camera/QCamera2/HAL3/QCamera3HWI.cpp2
1 files changed, 1 insertions, 1 deletions
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;