[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] importinfo/admininfo
From: |
Derek Robert Price |
Subject: |
Re: [PATCH] importinfo/admininfo |
Date: |
Sun, 05 Oct 2003 18:57:40 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Edwards wrote:
|>Actually, I started removing such casts a few days ago when neither
|>Larry nor Mark could tell me why I shouldn't. I believe casts of NULL
|>and casts of pointers to void * are unecessary under C89, though I
|
|
|(void **) needs to be casted, if that's what you meant by
|"pointer to void *".
No, I meant any single reference pointer - char *, int *, struct foo *,
but I hadn't really considered the double+ reference case. I suppose I
can see why someone might want the warning when the reference level
didn't match. It wasn't the case we were discussing, but I'll keep it
in mind if I come across it. Thanks.
Derek
- --
~ *8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
- --
73. ASCII a stupid question, get a stupid ANSI!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/gKHkLD1OTBfyMaQRAupsAJwM7xduA4bmKEg53PQa18GJ7ptDUwCgq2NX
66hEpwhO9eFZZ5yjKIXFxME=
=d2dI
-----END PGP SIGNATURE-----