src/common/common.h: do not use `void *` in arithmetic
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 14 Dec 2020 18:07:40 +0000 (13:07 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 31 Aug 2021 18:55:52 +0000 (14:55 -0400)
commit5a8810d2f355e27381bebb9fcb6e1e254828dfdf
tree44d3297b62a935ed07e02d7ffc1185f37b5f8cb7
parent97ebbaa08e88b19d5f8c40f3339c607ae01d66d2
src/common/common.h: do not use `void *` in arithmetic

This avoids a G++ warning:

> common.h:445:22: warning: pointer of type ‘void *’ used in arithmetic
> [-Wpointer-arith]

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I71bad4b54a0aa3baa806e5c29e060d0047c007f2
Reviewed-on: https://review.lttng.org/c/babeltrace/+/4566
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/common/common.h
This page took 0.024591 seconds and 4 git commands to generate.