On 8.01.2025 18:52, Biswapriyo Nath wrote:
Those types use the same underlying type, so there should be no problem
with printfs. DWORD, ULONG and ULONG_PTR are unsigned long on 32-bit,
DWORD64, ULONG64 and ULONT_PTR are unsigned long long on 64-bit.
Out of curiosity, are you sure about that there will be no problem? I
remember getting compiler warning in FreeRDP project about the
DWORD/ULONG conflict, like function definition has DWORD but it is
called with ULONG argument. I can not provide the exact warning
message right now. Though, it is non-fatal and does not changes the
actual data type.
That FreeRDP example seems questionable; there were likely additional
details involved. It's hard to comment without more details.
Jacek
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public