Merge pull request #3196 from Carbenium/clang-build-fix
Fix build under clang
This commit is contained in:
commit
c0f53382c8
|
@ -1,6 +1,7 @@
|
|||
target_compile_options(zm-warning-interface
|
||||
INTERFACE
|
||||
-Wall
|
||||
-Wconditionally-supported
|
||||
-Wextra
|
||||
-Wformat-security
|
||||
-Wno-cast-function-type
|
||||
|
|
|
@ -289,7 +289,7 @@ int RemoteCameraHttp::ReadData(Buffer &buffer, unsigned int bytes_expected) {
|
|||
total_bytes_to_read -= bytes_read;
|
||||
} while (total_bytes_to_read);
|
||||
|
||||
Debug(4, "buffer: %s", buffer);
|
||||
Debug(4, "buffer size: %d", static_cast<int>(buffer));
|
||||
|
||||
return total_bytes_read;
|
||||
} // end readData
|
||||
|
|
Loading…
Reference in New Issue