diff options
Diffstat (limited to 'src/hooks.cc')
-rw-r--r-- | src/hooks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks.cc b/src/hooks.cc index ed8be7e9..0d89586a 100644 --- a/src/hooks.cc +++ b/src/hooks.cc @@ -162,7 +162,7 @@ static bool_ vprocess_hooks_return (int h_idx, const char *ret, const char *fmt, /* Push all args in the pile */ i = 0; - COPY(&real_ap, ap, va_list); + memcpy(&real_ap, ap, sizeof(va_list)); while (fmt[i]) { switch (fmt[i]) |