Change from int to long for values that represent sizes in bit
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 10 Oct 2013 18:00:58 +0000 (14:00 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 17 Oct 2013 18:29:34 +0000 (14:29 -0400)
commit47ca6c052e9c162fa1477b08cf7c2c77b99880ea
tree31103c4fa0c7cd161e0e8c1b8bb83ea4f8f7346a
parentdd36f8bf99e0940be7fbdf0bc4a09537cdada2aa
Change from int to long for values that represent sizes in bit

This fixes parsing of traces with big packets, whose size in bits
overflow an 32-bit int.

Change-Id: I5d2d1ede73e638bdd2a3e5b38a5ee2a053fa5d3a
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/17422
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/io/BitBufferTest.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/io/BitBuffer.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/EnumDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IntegerDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInput.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/trace/StreamInputPacketIndexEntry.java
This page took 0.0495 seconds and 5 git commands to generate.