/* The original author granted me (Martin Quinson) to redistribute this work
under the LGPL licence, what I here do. */
-/*#include "context_win32.h" Not needed since this file is to be included*/
+#include "context_win32.h" /* Current file is to be included when cross-compiling,
+ but not during native builds. So this include is needed */
int getcontext(ucontext_t *ucp)
{
va_start (ap, argc);
for (i=0; i<argc; i++) {
memcpy(sp, ap, 8);
- ap +=8;
+ (char*)ap +=8;
sp += 8;
}
va_end(ap);