edits
[iotcloud.git] / version2 / src / C / TransactionPart.cc
index 139b3d2ab86abbbfb11db55f990d49c4886b4237..6e0528fa66d96a7d3491e3d0e6ebf382978ff0a8 100644 (file)
@@ -13,7 +13,7 @@ class TransactionPart extends Entry {
     Boolean isLastPart = false;
 
     Pair<int64_t, int64_t> transactionId = NULL;
-    Pair<Long, Integer> partId = NULL;
+    Pair<int64_t int32_t> partId = NULL;
 
     char[] data = NULL;
 
@@ -27,7 +27,7 @@ class TransactionPart extends Entry {
         isLastPart = _isLastPart;
 
         transactionId = new Pair<int64_t, int64_t>(machineId, clientLocalSequenceNumber);
-        partId = new Pair<Long, Integer>(clientLocalSequenceNumber, partNumber);
+        partId = new Pair<int64_t int32_t>(clientLocalSequenceNumber, partNumber);
 
     }
 
@@ -50,7 +50,7 @@ class TransactionPart extends Entry {
         return arbitratorId;
     }
 
-    Pair<Long, Integer> getPartId() {
+    Pair<int64_t int32_t> getPartId() {
         return partId;
     }