commit 02c6f5f27c7edb40f28da1a6dc1cdd7c86e865b3
parent 5fb135bece4ea13d5ba2ced834d87d8ac2446890
Author: Kyle Milz <kyle@0x30.net>
Date: Wed, 15 Jun 2016 20:54:59 -0600
src: add a const_cast
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inst_main.cc b/src/inst_main.cc
@@ -202,7 +202,7 @@ patch_link_command(std::vector<char *> &args)
// Add the runtime library and the symbol define hack
// automatically to the command line
- args.push_back("-pthread");
+ args.push_back(const_cast<char *>("-pthread"));
args.push_back(lib_str);
}