edit
[iotcloud.git] / version2 / src / C / TransactionPart.cc
index 0d8e2c424f0ddcd6c33ab71b5d5f27e79e0028c7..139b3d2ab86abbbfb11db55f990d49c4886b4237 100644 (file)
@@ -12,7 +12,7 @@ class TransactionPart extends Entry {
     int partNumber = -1; // Parts position in the
     Boolean isLastPart = false;
 
-    Pair<Long, Long> transactionId = NULL;
+    Pair<int64_t, int64_t> transactionId = NULL;
     Pair<Long, Integer> partId = NULL;
 
     char[] data = NULL;
@@ -26,7 +26,7 @@ class TransactionPart extends Entry {
         data = _data;
         isLastPart = _isLastPart;
 
-        transactionId = new Pair<Long, Long>(machineId, clientLocalSequenceNumber);
+        transactionId = new Pair<int64_t, int64_t>(machineId, clientLocalSequenceNumber);
         partId = new Pair<Long, Integer>(clientLocalSequenceNumber, partNumber);
 
     }
@@ -42,7 +42,7 @@ class TransactionPart extends Entry {
         parentslot = s;
     }
 
-    Pair<Long, Long> getTransactionId() {
+    Pair<int64_t, int64_t> getTransactionId() {
         return transactionId;
     }