mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
PVS-Studio static analysis corrections (4)
This commit is contained in:
@@ -46,12 +46,12 @@ public:
|
||||
|
||||
bool operator==(const MetaDataFEC& rhs)
|
||||
{
|
||||
return (memcmp((const void *) this, (const void *) &rhs, 12) == 0); // Only the 12 first bytes are relevant
|
||||
return (memcmp((const char *) this, (const char *) &rhs, 12) == 0); // Only the 12 first bytes are relevant
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
memset((void *) this, 0, sizeof(MetaDataFEC));
|
||||
memset((char *) this, 0, sizeof(MetaDataFEC));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user