Fix warning in drgn pure name changes

This commit is contained in:
Jay Kamat 2023-04-03 08:44:07 -07:00 committed by Jay Kamat
parent 76f525f43d
commit 8f150c3d15
2 changed files with 2 additions and 2 deletions

2
extern/drgn vendored

@ -1 +1 @@
Subproject commit b5407192bc3723990dbe4eb7f7803115f76fddc4
Subproject commit f3d8791e3b0a1bf6b8ba14f43aeb049df71a257f

View File

@ -85,7 +85,7 @@ OIGenerator::findOilTypesAndNames(drgnplusplus::program& prog) {
for (auto& func : drgnplusplus::func_iterator(prog)) {
std::string strongLinkageName;
{
char* linkageNameCstr;
const char* linkageNameCstr;
if (auto err = drgnplusplus::error(
drgn_type_linkage_name(func.type, &linkageNameCstr))) {
// throw err;