|
|
@@ -23122,7 +23122,7 @@ void AudioSampleBuffer::setSize (const int newNumChannels, |
|
|
|
size = newNumSamples; |
|
|
|
|
|
|
|
if (newNumChannels > numChannels) |
|
|
|
channels = (float**) juce_realloc (channels, newNumChannels * sizeof (float*)); |
|
|
|
channels = (float**) juce_realloc (channels, (newNumChannels + 1) * sizeof (float*)); |
|
|
|
|
|
|
|
numChannels = newNumChannels; |
|
|
|
|
|
|
@@ -241397,7 +241397,7 @@ public: |
|
|
|
static Win32ComponentPeer* getOwnerOfWindow (HWND h) throw() |
|
|
|
{ |
|
|
|
if (h != 0 && GetWindowLongPtr (h, GWLP_USERDATA) == improbableWindowNumber) |
|
|
|
return (Win32ComponentPeer*) GetWindowLongPtr (h, 8); |
|
|
|
return (Win32ComponentPeer*) (pointer_sized_int) GetWindowLongPtr (h, 8); |
|
|
|
|
|
|
|
return 0; |
|
|
|
} |
|
|
@@ -244832,7 +244832,7 @@ bool ActiveXControlComponent::createControl (const void* controlIID) |
|
|
|
|
|
|
|
if (info->controlHWND != 0) |
|
|
|
{ |
|
|
|
originalWndProc = (void*) GetWindowLongPtr ((HWND) info->controlHWND, GWLP_WNDPROC); |
|
|
|
originalWndProc = (void*) (pointer_sized_int) GetWindowLongPtr ((HWND) info->controlHWND, GWLP_WNDPROC); |
|
|
|
SetWindowLongPtr ((HWND) info->controlHWND, GWLP_WNDPROC, (LONG_PTR) activeXHookWndProc); |
|
|
|
} |
|
|
|
|
|
|
|