Skip to content

Commit

Permalink
Trying to fix cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Feb 21, 2025
1 parent 0497881 commit b662478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmio/VirtualCamera/src/objectproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@ bool AkVCam::ObjectProperties::getProperty(UInt32 property,
};
array = CFArrayCreate(kCFAllocatorDefault,
#ifdef FAKE_APPLE
const_cast<const void **>(reinterpret_cast<void **>(formats.data())),
reinterpret_cast<const void **>(const_cast<const CMFormatDescription **>(formats.data())),
#else
const_cast<const void **>(formats.data()),
reinterpret_cast<const void **>(formats.data()),
#endif
UInt32(formats.size()),
&callbacks);
Expand Down

0 comments on commit b662478

Please sign in to comment.