mohabouje / WinToast

WinToast is a lightly library written in C++ which brings a complete integration of the modern toast notifications of Windows 8 & Windows 10. Toast notifications allows your app to inform the users about relevant information and timely events that they should see and take action upon inside your app, such as a new instant message, a new friend request, breaking news, or a calendar event.
MIT License
688 stars 127 forks source link

Fix #40 #41

Closed dedmen closed 5 years ago

dedmen commented 5 years ago

Not sure if you find this fix useable.

mohabouje commented 5 years ago

Good catch! I should add a note in the documentation to enforce the usage of releases or tagged version.

The current master branch has been modified recently and has not been tested in all the different platform yet.

As you mentioned, your change will fix the problem in the x64 platforms. Probably the easiest solution is to avoid auto and replace it by a simple unsigned type, maybe unsigned long or unsigned int.

dedmen commented 5 years ago

Fixed by https://github.com/mohabouje/WinToast/commit/3a56959e69e2790f2752ac73d0885ad08b96bf46