Fix: Allow 64-bit packet offset
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Sep 2012 00:56:53 +0000 (20:56 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Sep 2012 00:56:53 +0000 (20:56 -0400)
commitfef3bf22431390dae389d378b7709366b158b83d
tree26ca9c7dcfd7d2e3827de815f62566de9986e446
parent9b3c1d6f8e01603488e317ffef7a8e3c15c98459
Fix: Allow 64-bit packet offset

Offset within a packet is calculated in bits. Therefore, if, for an
unforeseen reason, a 32-bit system would happen to build babeltrace
without large file support, the maximum packet size would have been
limited to 256MB (4GB / 8 bits per byte), because we were using size_t.

Use 64-bit type to hold the offset within a packet from now on.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
converter/babeltrace-log.c
include/babeltrace/ctf/types.h
lib/iterator.c
This page took 0.032809 seconds and 4 git commands to generate.