diff options
author | Tony Butler <tony@esited.com> | 2018-04-17 13:10:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 13:10:49 -0600 |
commit | 70c319103554bfce6edd1c18786566f2bdcbc93b (patch) | |
tree | 92d4d8e58ef75a09592e30b17e55fd2136bd2008 /xmrstak/misc/console.cpp | |
parent | 9158460bdc316fe9d6f1fb01095b5aff52c1acf8 (diff) | |
parent | 9df1d4d608f59e81e1e7db1f9b20dd2807e7dd6e (diff) | |
download | xmr-stak-70c319103554bfce6edd1c18786566f2bdcbc93b.zip xmr-stak-70c319103554bfce6edd1c18786566f2bdcbc93b.tar.gz |
Merge pull request #1 from fireice-uk/dev
Dev
Diffstat (limited to 'xmrstak/misc/console.cpp')
-rw-r--r-- | xmrstak/misc/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/misc/console.cpp b/xmrstak/misc/console.cpp index de5eed3..d961b71 100644 --- a/xmrstak/misc/console.cpp +++ b/xmrstak/misc/console.cpp @@ -225,7 +225,7 @@ void printer::print_str(const char* str) //Do a press any key for the windows folk. *insert any key joke here* #ifdef _WIN32 -void win_exit(size_t code) +void win_exit(int code) { size_t envSize = 0; getenv_s(&envSize, nullptr, 0, "XMRSTAK_NOWAIT"); @@ -238,7 +238,7 @@ void win_exit(size_t code) } #else -void win_exit(size_t code) +void win_exit(int code) { std::exit(code); } |