title: Pointer Truncation from void* to DWORD
body: <p>I am using a <a href="https://github.com/yoggy/nanoKONTROL2-lib" rel="nofollow noreferrer">control library</a> for Visual C++ for a Project, which works perfect if I build it in the x32 Version. For my Project, I need it to be x64, so I tried to compile it with x64 in Visual Studio. But I am getting some Warnings: </p>
  
  <p><a href="https://i.stack.imgur.com/UkneB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UkneB.jpg" alt="Warnings"></a></p>
  
  <p>This is Line 17.</p>
  
  <pre><code>    rv = midiInOpen(&amp;handle_, device_idx, (DWORD)(void*)midi_in_proc_static_, (DWORD_PTR)this, CALLBACK_FUNCTION);
  </code></pre>
  
  <p>How can I change that to a x64 Version? And do I have to change something in the Project Proberties?</p>