mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-29 22:37:44 +02:00
Use explicit c++-style cast
This commit is contained in:
parent
36008b5728
commit
877c7a9b10
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue