$NetBSD: patch-ac,v 1.8 2004/07/15 04:05:40 atatat Exp $ Cast to long before int when casting a pointer. It still "loses precision" but in this case it doesn't matter and it quiets the compiler. --- process.c.orig 2003-09-18 08:53:54.000000000 -0400 +++ process.c @@ -5466,7 +5466,7 @@ char *data; /* dummy */ *buf = 0; return; } - act.nr = (int)data; + act.nr = (int)(long)data; act.args = noargs; act.argl = 0; DoAction(&act, -1);