Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove a ugly special case in LocationListEntry
[simgrid.git] / src / mc / LocationList.cpp
index 7ce1b1e42468322f2a7d4b0e8b17b24bcd7149d5..aabcab59b0e04827e500e1d4264faf44f6715113 100644 (file)
@@ -96,7 +96,7 @@ LocationList location_list(
     LocationListEntry::range_type range;
     if (start == 0)
       // If start == 0, this is not a location list:
-      range = {0, 0};
+      range = { 0, UINT64_MAX };
     else
       range =  { base_address + start, base_address + end };