Skip to content

Commit 8f150c3

Browse files
committed
Fix warning in drgn pure name changes
1 parent 76f525f commit 8f150c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extern/drgn

src/OIGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ OIGenerator::findOilTypesAndNames(drgnplusplus::program& prog) {
8585
for (auto& func : drgnplusplus::func_iterator(prog)) {
8686
std::string strongLinkageName;
8787
{
88-
char* linkageNameCstr;
88+
const char* linkageNameCstr;
8989
if (auto err = drgnplusplus::error(
9090
drgn_type_linkage_name(func.type, &linkageNameCstr))) {
9191
// throw err;

0 commit comments

Comments
 (0)