Use explicit c++-style cast

This commit is contained in:
Marcus Weseloh 2024-06-02 12:24:14 +02:00 committed by Johannes Pohl
parent 36008b5728
commit 877c7a9b10

View file

@ -130,7 +130,7 @@ public:
void setFrameCount(int frameCount) {
auto newSize = format.frameSize() * frameCount;
payload = (char*)realloc(payload, newSize);
payload = static_cast<char*>(realloc(payload, newSize));
payloadSize = newSize;
}