OSDN Git Service

Avoids false positives with -Wcast-qual:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Sep 1999 14:44:56 +0000 (14:44 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Sep 1999 14:44:56 +0000 (14:44 +0000)
commitc2b331c8986dd0a1c7fbeb1e9ea26f46eefebaa1
tree857be0ae58c1bb2a02afe0e85d7b344ae44997dc
parent5bb2f9194e05736442d94c1b28922e552a24fe02
Avoids false positives with -Wcast-qual:

* obstack.h (obstack_grow, obstack_grow0): Move (char*) casts
in calls to `_obstack_memcpy' from here ...

(_obstack_memcpy): ... to here, except in the __STDC__ case which
doesn't need it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29028 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/obstack.h