From 6b095a17aa8306a674edb6a15b49964f7a2e2a0f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 8 Sep 2021 18:46:58 -0400 Subject: [PATCH] Fix std::string to const char * --- src/zmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zmu.cpp b/src/zmu.cpp index 502aecd99..9febe9508 100644 --- a/src/zmu.cpp +++ b/src/zmu.cpp @@ -715,7 +715,7 @@ int main(int argc, char *argv[]) { if ( function & ZMU_QUERY ) { #if ZM_HAS_V4L char vidString[0x10000] = ""; - bool ok = LocalCamera::GetCurrentSettings(device, vidString, v4lVersion, verbose); + bool ok = LocalCamera::GetCurrentSettings(device.c_str(), vidString, v4lVersion, verbose); printf("%s", vidString); exit_zmu(ok ? 0 : -1); #else // ZM_HAS_V4L