diff options
author | Pavel Labath <pavel@labath.sk> | 2025-05-13 15:05:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 15:05:53 +0200 |
commit | 89826f04589af9d309319b3651b609fdd8978631 (patch) | |
tree | 41236d5aa5400e71d8023530e83933c865e76112 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 4ee6f74e5540d634199a2cbf1602fdf5cff69330 (diff) | |
download | llvm-89826f04589af9d309319b3651b609fdd8978631.zip llvm-89826f04589af9d309319b3651b609fdd8978631.tar.gz llvm-89826f04589af9d309319b3651b609fdd8978631.tar.bz2 |
[lldb] Fix compilation errors from #138896 (#139711)
- s/size_t/SIZE_T to match the windows API
- case HANDLE to int64_t to avoid cast-to-int-of-different-size
errors/warnings
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 332b925..2aea7c6 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -924,7 +924,8 @@ Status GDBRemoteCommunication::StartDebugserverProcess( debugserver_args.AppendArgument(fd_arg.GetString()); // Send "pass_comm_fd" down to the inferior so it can use it to // communicate back with this process. Ignored on Windows. - launch_info.AppendDuplicateFileAction((int)pass_comm_fd, (int)pass_comm_fd); + launch_info.AppendDuplicateFileAction((int64_t)pass_comm_fd, + (int64_t)pass_comm_fd); } // use native registers, not the GDB registers |