File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,12 @@ LM_API_EXPORT int main()
192192 auto libpath = std::filesystem::current_path () / " tests" / " libtest.so" ;
193193 std::cout << " [*] Library Path: " << libpath << std::endl;
194194
195- auto cur_loaded_mod = LM::LoadModule (libpath.c_str ()).value ();
195+ auto cur_loaded_mod = LM::LoadModule (reinterpret_cast < const char *>( libpath.c_str () )).value ();
196196 std::cout << " [*] Loaded Module into Current Process: " << cur_loaded_mod.to_string () << std::endl;
197197
198198 separator ();
199199
200- auto loaded_mod = LM::LoadModule (&process, libpath.c_str ()).value ();
200+ auto loaded_mod = LM::LoadModule (&process, reinterpret_cast < const char *>( libpath.c_str () )).value ();
201201 std::cout << " [*] Loaded Module into Remote Process: " << loaded_mod.to_string () << std::endl;
202202
203203 separator ();
You can’t perform that action at this time.
0 commit comments