OSX Mem.cpp fix (#70) Thx to @djfinch

* OSX Mem.cp fix
* Fixed current serverTime overflow.
This commit is contained in:
djfinch 2018-03-19 23:04:19 +01:00 committed by Ben Gräf
parent dd3d2db2a0
commit 90202b2920
3 changed files with 6 additions and 6 deletions

View file

@ -34,7 +34,7 @@ int Mem::m_flags = 0;
size_t Mem::m_hashFactor = 1;
size_t Mem::m_threads = 0;
size_t Mem::m_memorySize = 0;
uint8_t *Mem::m_memory = nullptr;
alignas(16) uint8_t *Mem::m_memory = nullptr;
Mem::ThreadBitSet Mem::m_multiHashThreadMask = Mem::ThreadBitSet(-1L);
cryptonight_ctx *Mem::create(int threadId)

View file

@ -27,8 +27,8 @@
#define __MEM_H__
#include <cstddef>
#include <cstdint>
#include <stddef.h>
#include <stdint.h>
#include <bitset>
#include "Options.h"