QVariant has ctor overloads for int, unsigned int, qlonglong (long long int) and qulonglong (unsigned long long int), but no unsigned long int overload. As a result, (implicit) calls to QVariant ctor with UINT_PTR arguments are ambiguous. Fix: those problematic implicit ctor calls cast the UINT_PTR value to uint_ptr, a typedef hidden in a namespace qtmfc_workaround; uint_ptr is unsigned int or qulonglong depending on the size of UINT_PTR;
Commented-out calls to ShellExecute and TrackMouseEvent: they are currently undefined.
Fixes for libfamitracker and nesicide
2 small changes here:
int
,unsigned int
,qlonglong
(long long int
) andqulonglong
(unsigned long long int
), but nounsigned long int
overload. As a result, (implicit) calls to QVariant ctor withUINT_PTR
arguments are ambiguous. Fix: those problematic implicit ctor calls cast theUINT_PTR
value touint_ptr
, a typedef hidden in a namespaceqtmfc_workaround
;uint_ptr
isunsigned int
orqulonglong
depending on the size ofUINT_PTR
;ShellExecute
andTrackMouseEvent
: they are currently undefined.Sorry for the noise.