1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Build: Ensure that plugin and manufacturer codes are exactly four characters in length

This commit is contained in:
reuk 2021-09-16 19:18:30 +01:00
parent 7525da867b
commit d13a23ad14
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
3 changed files with 24 additions and 6 deletions

View file

@ -2579,7 +2579,7 @@ StringPairArray Project::getAudioPluginFlags() const
for (int i = 0; i < 4; ++i)
hexRepresentation = (hexRepresentation << 8u)
| (static_cast<unsigned int> (fourCharCode[i]) & 0xffu);
| (static_cast<unsigned int> (fourCharCode[i]) & 0xffu);
return "0x" + String::toHexString (static_cast<int> (hexRepresentation));
};