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:
parent
7525da867b
commit
d13a23ad14
3 changed files with 24 additions and 6 deletions
|
|
@ -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));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue