diff --git a/src/configure.in b/src/configure.in index 27b1633f3fa2e4043912c8c55d14fd45e09d7324..a3c1779c1b6a4dad9e134fc4db6ef251036b40fb 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.240 1998/09/27 19:36:47 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.241 1998/09/27 19:42:32 grubba Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -1687,10 +1687,10 @@ char *c="bar"; char *d="gazonk"; int main() { - if(memmem(b,strlen(b),a,strlen(a))!=a || - memmem(c,strlen(c),a,strlen(a))!=(a+4) || - memmem(d,strlen(d),a,strlen(a))!=(a+8) || - memmem(d,0,a,strlen(a))!=a || + if(((char *)memmem(b,strlen(b),a,strlen(a)))!=a || + ((char *)memmem(c,strlen(c),a,strlen(a)))!=(a+4) || + ((char *)memmem(d,strlen(d),a,strlen(a)))!=(a+8) || + ((char *)memmem(d,0,a,strlen(a)))!=a || memmem(d,strlen(d)+1,a,strlen(a))!=0) exit(1); exit(0);