Fix types

Some types didn't match and complained, especially on 32bit systems.
parent 6547cb50
Pipeline #1964 passed with stage
in 1 minute and 52 seconds
......@@ -51,7 +51,7 @@ public:
private:
static constexpr size_t periodicInterval = 5000;
Procedure periodic;
int64_t lastPeriodic = 0;
uint64_t lastPeriodic = 0;
int wake_read_fd = -1, wake_write_fd = -1, epoll_fd = -1;
std::list<std::unique_ptr<TaskHolder> > taskHolders;
bool terminate = false;
......
......@@ -24,7 +24,7 @@ using std::bind;
namespace Pakon {
Worker::Worker(size_t id) :
Worker::Worker(uint64_t id) :
SPE(bind(&Worker::handleCommands, this)),
id_(id)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment