ctf: Fix lost events in a more elegant way
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / ctfadaptor / CtfIteratorManager.java
index 865c551544b42094c3ce2383133dd44f7ea4e10c..b03fdbfd9c9a456dd1ed01db55cd10bc7c66f462 100644 (file)
@@ -142,7 +142,8 @@ class CtfTraceManager {
                  */
                 retVal = replaceRandomElement(context);
             }
-            retVal.seek((Long) context.getLocation().getLocation());
+            final CtfLocationData location = (CtfLocationData) context.getLocation().getLocation();
+            retVal.seek( location);
         }
         return retVal;
     }
This page took 0.025236 seconds and 5 git commands to generate.