summaryrefslogtreecommitdiffstats
path: root/xmrstak/misc/executor.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-11-17 16:48:28 +0000
committerGitHub <noreply@github.com>2017-11-17 16:48:28 +0000
commitf50fa7d84d6cca05d0684c6f018ad5928301eafe (patch)
tree578a9bcc5e00126965ff1fafa8fd759d3d869748 /xmrstak/misc/executor.cpp
parent629542ae4d9686315fae4f8acfef42401710834a (diff)
parent1d19b5d4260d911973bbc289a31f84c7d695bd07 (diff)
downloadxmr-stak-f50fa7d84d6cca05d0684c6f018ad5928301eafe.zip
xmr-stak-f50fa7d84d6cca05d0684c6f018ad5928301eafe.tar.gz
Merge pull request #134 from fireice-uk/fix-wrong-gpu-res-crash
Fix GPU result crash
Diffstat (limited to 'xmrstak/misc/executor.cpp')
-rw-r--r--xmrstak/misc/executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/misc/executor.cpp b/xmrstak/misc/executor.cpp
index 1af51fc..cccfca7 100644
--- a/xmrstak/misc/executor.cpp
+++ b/xmrstak/misc/executor.cpp
@@ -561,7 +561,7 @@ void executor::ex_main()
break;
case EV_GPU_RES_ERROR:
- log_result_error(ev.oGpuError.error_str);
+ log_result_error(std::string(ev.oGpuError.error_str));
break;
case EV_PERF_TICK:
OpenPOWER on IntegriCloud