Skip to content
Snippets Groups Projects
Commit 0a32bad7 authored by fireice-uk's avatar fireice-uk
Browse files

v1.1.0-v1.1.0 RC

parent 2e052dec
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,8 @@ bool jconf::parse_config(const char* sFilename) ...@@ -235,7 +235,8 @@ bool jconf::parse_config(const char* sFilename)
fclose(pFile); fclose(pFile);
//Replace Unicode BOM with spaces - we always use UTF-8 //Replace Unicode BOM with spaces - we always use UTF-8
if(buffer[1] == 0xEF && buffer[2] == 0xBB && buffer[3] == 0xBF) unsigned char* ubuffer = (unsigned char*)buffer;
if(ubuffer[1] == 0xEF && ubuffer[2] == 0xBB && ubuffer[3] == 0xBF)
{ {
buffer[1] = ' '; buffer[1] = ' ';
buffer[2] = ' '; buffer[2] = ' ';
......
...@@ -243,7 +243,7 @@ bool minethd::self_test() ...@@ -243,7 +243,7 @@ bool minethd::self_test()
return false; return false;
} }
bool bHasLp = ctx0->ctx_info[0] == 1 && ctx1->ctx_info[1]; bool bHasLp = ctx0->ctx_info[0] == 1 && ctx1->ctx_info[0] == 1;
size_t n = jconf::inst()->GetThreadCount(); size_t n = jconf::inst()->GetThreadCount();
jconf::thd_cfg cfg; jconf::thd_cfg cfg;
for (size_t i = 0; i < n; i++) for (size_t i = 0; i < n; i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment