Fixed compiler warnings
This commit is contained in:
parent
c0f962d2be
commit
6bd8687a45
@ -22,6 +22,7 @@ protected:
|
|||||||
handleOscMsg(m);
|
handleOscMsg(m);
|
||||||
}
|
}
|
||||||
catch (osc::Exception& e) {
|
catch (osc::Exception& e) {
|
||||||
|
(void)e;
|
||||||
// any parsing errors such as unexpected argument types, or
|
// any parsing errors such as unexpected argument types, or
|
||||||
// missing arguments get thrown as exceptions.
|
// missing arguments get thrown as exceptions.
|
||||||
OutputDebugString(L"ProcessMessage: Error while parsing message: ...");
|
OutputDebugString(L"ProcessMessage: Error while parsing message: ...");
|
||||||
@ -497,7 +498,7 @@ int handleOscMsg(const osc::ReceivedMessage& m)
|
|||||||
/* Debugging function to test messaging. Probably will be removed later. */
|
/* Debugging function to test messaging. Probably will be removed later. */
|
||||||
DLLEXPORT int testMsg(HWND windowHandle, unsigned int messageID)
|
DLLEXPORT int testMsg(HWND windowHandle, unsigned int messageID)
|
||||||
{
|
{
|
||||||
float theFloat = 1.01;
|
float theFloat = (float)1.01;
|
||||||
int lParam = reinterpret_cast<int&>(theFloat);
|
int lParam = reinterpret_cast<int&>(theFloat);
|
||||||
|
|
||||||
PostMessage(hwnd, 0x1002, 0, lParam); //post to message queue
|
PostMessage(hwnd, 0x1002, 0, lParam); //post to message queue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user