mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
UniqueID: Mingw std::byte cast
This commit is contained in:
parent
120f9266dc
commit
0139452607
1 changed files with 1 additions and 1 deletions
|
|
@ -796,7 +796,7 @@ String SystemStats::getUniqueDeviceID()
|
|||
const auto* src = content.data() + systemUUID;
|
||||
|
||||
for (auto i = 0; i != 16; ++i)
|
||||
snprintf (hexBuf + 2 * i, 3, "%02hhX", src[i]);
|
||||
snprintf (hexBuf + 2 * i, 3, "%02hhX", std::to_integer<uint8_t> (src[i]));
|
||||
|
||||
uuid += hexBuf;
|
||||
uuid += "\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue