[all-commits] [llvm/llvm-project] c1e245: [lldb] Fix build on NetBSD (#74190)

Brad Smith via All-commits all-commits at lists.llvm.org
Mon Dec 4 00:01:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1e2457a14f865371bb2dcba260ace32e3a2f71b
      https://github.com/llvm/llvm-project/commit/c1e2457a14f865371bb2dcba260ace32e3a2f71b
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M lldb/source/Host/netbsd/HostNetBSD.cpp

  Log Message:
  -----------
  [lldb] Fix build on NetBSD (#74190)

lldb/source/Host/netbsd/HostNetBSD.cpp:112:32: error: reinterpret_cast from 'const uint8_t *' (aka 'const unsigned char *') to 'char *' casts away qualifiers
                              {reinterpret_cast<char *>(buffer_sp->GetBytes()),
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.




More information about the All-commits mailing list