diff options
author | Martin Storsjö <martin@martin.st> | 2025-07-28 12:10:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 13:10:46 +0300 |
commit | 98ec927fcb8697a6f6df64298835917aa1d0d3c1 (patch) | |
tree | 37518577b73fc8ec5ed9d07299c7c292c44648c1 /clang/lib/Index/CommentToXML.cpp | |
parent | 3308fc4acda46af459b9fe69bab2f011a19d2286 (diff) | |
download | llvm-98ec927fcb8697a6f6df64298835917aa1d0d3c1.zip llvm-98ec927fcb8697a6f6df64298835917aa1d0d3c1.tar.gz llvm-98ec927fcb8697a6f6df64298835917aa1d0d3c1.tar.bz2 |
[lldb] [Windows] Silence format string warnings (#150886)
This fixes the following build warnings in a mingw environment:
../../lldb/source/Host/windows/MainLoopWindows.cpp:226:50: warning:
format specifies type 'int' but the argument has type
'IOObject::WaitableHandle' (aka 'void *') [-Wformat]
226 | "File descriptor %d already monitored.", waitable_handle);
| ~~ ^~~~~~~~~~~~~~~
../../lldb/source/Host/windows/MainLoopWindows.cpp:239:49: warning:
format specifies type 'int' but the argument has type 'DWORD' (aka
'unsigned long') [-Wformat]
238 | error = Status::FromErrorStringWithFormat("Unsupported file type
%d",
| ~~
| %lu
239 | file_type);
| ^~~~~~~~~
2 warnings generated.
Diffstat (limited to 'clang/lib/Index/CommentToXML.cpp')
0 files changed, 0 insertions, 0 deletions