Fix std::string to const char *
This commit is contained in:
parent
ad1db2c960
commit
6b095a17aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue