edit
[iotcloud.git] / version2 / src / C / CommitPart.cc
index 3b3a10e0c280cf60d753af7436c5adab677cbda9..d17f3346cc8ef500ded35a9e50fe92a0fb4d02fe 100644 (file)
@@ -17,7 +17,7 @@ class CommitPart extends Entry{
     char[] data = NULL;
 
     Pair<Long, Integer> partId = NULL;
-    Pair<Long, Long> commitId = NULL;
+    Pair<int64_t, int64_t> commitId = NULL;
 
 
     CommitPart(Slot s, int64_t _machineId, int64_t _sequenceNumber, int64_t _transactionSequenceNumber, int _partNumber, char[] _data, Boolean _isLastPart) {
@@ -30,7 +30,7 @@ class CommitPart extends Entry{
         data = _data;
 
         partId = new Pair<Long, Integer>(sequenceNumber, partNumber);
-        commitId = new Pair<Long, Long>(machineId, sequenceNumber);
+        commitId = new Pair<int64_t, int64_t>(machineId, sequenceNumber);
     }
 
     int getSize() {
@@ -60,7 +60,7 @@ class CommitPart extends Entry{
         return partId;
     }
 
-    Pair<Long, Long> getCommitId() {
+    Pair<int64_t, int64_t> getCommitId() {
         return commitId;
     }