Date: Tue, 9 Sep 2003 17:00:35 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/56653: [patch] Removal of non-standard void * arithmetics Message-ID: <200309100000.h8A00ZZj004427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/56653; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Stefan Farfeleder <stefan@fafoe.narf.at> Cc: bug-followup@FreeBSD.org Subject: Re: bin/56653: [patch] Removal of non-standard void * arithmetics Date: Wed, 10 Sep 2003 02:52:18 +0300 On Tue, Sep 09, 2003 at 10:25:44PM +0200, Stefan Farfeleder wrote: > > Index: src/lib/libalias/alias_db.c > =================================================================== > RCS file: /usr/home/ncvs/src/lib/libalias/alias_db.c,v > retrieving revision 1.53 > diff -u -r1.53 alias_db.c > --- src/lib/libalias/alias_db.c 1 Jun 2003 23:15:00 -0000 1.53 > +++ src/lib/libalias/alias_db.c 9 Sep 2003 13:00:32 -0000 > @@ -2732,7 +2732,7 @@ > > rule->cmd_len = (u_int32_t *)cmd - (u_int32_t *)rule->cmd; > > - return ((void *)cmd - buf); > + return ((char *)cmd - (char *)buf); > } > #endif /* IPFW2 */ > I've committed this part of the patch, thanks! Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309100000.h8A00ZZj004427>