mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fix warnings when building with clang in 64-bit mode
This commit is contained in:
parent
fe4ba9071b
commit
407966b2ca
2 changed files with 3 additions and 3 deletions
|
|
@ -106,9 +106,9 @@ private:
|
|||
// a block of memory here that's big enough to be used internally as a windows
|
||||
// CRITICAL_SECTION structure.
|
||||
#if JUCE_64BIT
|
||||
std::aligned_storage<44, 4>::type lock;
|
||||
std::aligned_storage<44, 8>::type lock;
|
||||
#else
|
||||
std::aligned_storage<24, 4>::type lock;
|
||||
std::aligned_storage<24, 8>::type lock;
|
||||
#endif
|
||||
#else
|
||||
mutable pthread_mutex_t lock;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public:
|
|||
{
|
||||
COPYDATASTRUCT data;
|
||||
data.dwData = broadcastMessageMagicNumber;
|
||||
data.cbData = ((size_t) localCopy.length() + 1) * sizeof (CharPointer_UTF32::CharType);
|
||||
data.cbData = (DWORD) (((size_t) localCopy.length() + 1) * sizeof (CharPointer_UTF32::CharType));
|
||||
data.lpData = (void*) localCopy.toUTF32().getAddress();
|
||||
|
||||
DWORD_PTR result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue