diff options
| author | Stefan Weil | 2011-10-23 08:19:10 +0200 |
|---|---|---|
| committer | Blue Swirl | 2011-10-30 10:05:00 +0100 |
| commit | c2f36c6ce777c461faffa904aabaeb56e6458b9e (patch) | |
| tree | fa4cc84eb7ceca41bde00ee145176199aaf3b52f /fsdev | |
| parent | Add linux-headers/asm to .gitignore (diff) | |
| download | qemu-c2f36c6ce777c461faffa904aabaeb56e6458b9e.tar.gz qemu-c2f36c6ce777c461faffa904aabaeb56e6458b9e.tar.xz qemu-c2f36c6ce777c461faffa904aabaeb56e6458b9e.zip | |
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>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions
