Commit dd7dd414 authored by Graeme Smecher's avatar Graeme Smecher Committed by Petri Lehtinen
Browse files

Resolve __va_list_tag ** -> va_list * type errors with clang and future GCCs



Functions taking va_args are munged to receive arguments of type
'__va_list_tag *'. This patch uses va_copy to coerce them to the expected type
so we don't get compiler errors.

Tested on x86_64, both 32-bit and 64-bit compiles.

Reported-By: default avatarBasile Starynkevitch <basile@starynkevitch.net>
parent f25698d0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment