[Lldb-commits] [lldb] [lldb] [Windows] Silence format string warnings (PR #150886)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 28 01:08:49 PDT 2025


DavidSpickett wrote:

Should you use `%lu` instead of casting? https://learn.microsoft.com/en-gb/windows/win32/winprog/windows-data-types?redirectedfrom=MSDN:
```
A 32-bit unsigned integer. The range is 0 through 4294967295 decimal.
This type is declared in IntSafe.h as follows:
typedef unsigned long DWORD;
```
I assume since they didn't note it, it's the same size on x86 and x86_64.


https://github.com/llvm/llvm-project/pull/150886


More information about the lldb-commits mailing list