561
edits
(Remove mingw-w64, it is a completely different and unofficial tool chain.) |
(→libmpeg2: Fix libmpeg2 patch.) |
||
Line 237: | Line 237: | ||
* We need to use SetWindowLongPtr when it is available in mingw */ | * We need to use SetWindowLongPtr when it is available in mingw */ | ||
- SetWindowLong (instance->window, GWL_USERDATA, (LONG) instance); | - SetWindowLong (instance->window, GWL_USERDATA, (LONG) instance); | ||
+ SetWindowLongPtr (instance->window, GWLP_USERDATA, ( | + SetWindowLongPtr (instance->window, GWLP_USERDATA, (LONG_PTR) instance); | ||
ShowWindow (instance->window, SW_SHOW); | ShowWindow (instance->window, SW_SHOW); |
edits