[cscore] Fix warnings on macos arm (#5415)

This commit is contained in:
Vasista Vovveti
2023-06-27 17:22:19 -04:00
committed by GitHub
parent c4fc21838f
commit 3233883f3e
3 changed files with 2 additions and 5 deletions

View File

@@ -516,7 +516,7 @@ void CS_FreeEnumeratedVideoModes(CS_VideoMode* modes, int count) {
std::free(modes);
}
char* CS_GetHostname() {
char* CS_GetHostname(void) {
return cs::ConvertToC(cs::GetHostname());
}