exec-all: Fix void pointer arithmetic
commitc2f36c6ce777c461faffa904aabaeb56e6458b9e
authorStefan Weil <sw@weilnetz.de>
Sun, 23 Oct 2011 06:19:10 +0000 (23 08:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 30 Oct 2011 09:05:00 +0000 (30 09:05 +0000)
treefa4cc84eb7ceca41bde00ee145176199aaf3b52f
parentd787fcf45f193d3f439ee431f82b7a075c9f5784
exec-all: Fix void pointer arithmetic

Adding an offset to a void pointer works with gcc but is not allowed
by the current C standards. With -pedantic, gcc complains:

exec-all.h:344: error: pointer of type ‘void *’ used in arithmetic

Fix this, and also replace (unsigned long) by (uintptr_t) in the same
statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
exec-all.h