From 39aafa6f5e298332e554e49aef2555cd614949da Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 4 Apr 2020 15:15:17 -0400 Subject: [PATCH] Fixed message id type to be qint64 --- Message.cpp | 8 ++++---- Message.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Message.cpp b/Message.cpp index 2004982..66c7885 100644 --- a/Message.cpp +++ b/Message.cpp @@ -21,7 +21,7 @@ #include "Message.h" #include "DriftingDateTime.h" -const quint32 EPOCH = 1499299200000; // July 6, 2017 +const qint64 EPOCH = 1499299200000; // July 6, 2017 #if USE_SNOWFLAKE quint64 snowflake(quint64 epoch, quint16 machine, quint16 sequence){ @@ -48,15 +48,15 @@ Message::Message(QString const &type, QString const &value, QMap params() const { return params_; } private: