From: Mathieu Desnoyers Date: Fri, 28 Sep 2012 00:56:53 +0000 (-0400) Subject: Fix: Allow 64-bit packet offset X-Git-Tag: v1.0.0-rc6~19 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=fef3bf22431390dae389d378b7709366b158b83d;hp=fef3bf22431390dae389d378b7709366b158b83d 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 ---