summaryrefslogtreecommitdiffstats
path: root/hl/c++/src
diff options
context:
space:
mode:
Diffstat (limited to 'hl/c++/src')
-rw-r--r--hl/c++/src/H5PacketTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/src/H5PacketTable.cpp b/hl/c++/src/H5PacketTable.cpp
index f815a66..74b8029 100644
--- a/hl/c++/src/H5PacketTable.cpp
+++ b/hl/c++/src/H5PacketTable.cpp
@@ -190,7 +190,7 @@
if (startIndex > endIndex)
return -1;
- return H5PTread_packets(table_id, startIndex, endIndex-startIndex+1, data);
+ return H5PTread_packets(table_id, startIndex, (size_t)(endIndex-startIndex+1), data);
}
/* GetNextPacket (single packet)