mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
Fix warnings on Windows
This commit is contained in:
parent
30753f9f61
commit
ade0ee7be3
13 changed files with 67 additions and 63 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
|
||||
uint32_t getSize() const override
|
||||
{
|
||||
return sizeof(uint32_t) + msg.dump().size();
|
||||
return static_cast<uint32_t>(sizeof(uint32_t) + msg.dump().size());
|
||||
}
|
||||
|
||||
json msg;
|
||||
|
@ -74,7 +74,7 @@ protected:
|
|||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace msg
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue