| Submitter | Toon Moene |
|---|---|
| Date | May 12, 2011, 8:33 p.m. |
| Message ID | <4DCC4400.3020303@moene.org> |
| Download | mbox | patch |
| Permalink | /patch/95358/ |
| State | New |
| Headers | show |
Comments
On May 12, 2011, at 1:33 PM, Toon Moene wrote: > [ Strong Typing Is For People With Weak Memories ] :-) > 2011-05-12 Toon Moene <toon@moene.org> > > * objc-next-runtime-abi-02.c (objc_build_internal_classname): > Add const qualifier to constant variable pointer declaration. > Apply as obvious ? Yes, it was obvious... Ok.
Patch
Index: objc-next-runtime-abi-02.c =================================================================== --- objc-next-runtime-abi-02.c (revision 173710) +++ objc-next-runtime-abi-02.c (working copy) @@ -1879,7 +1879,7 @@ objc_build_internal_classname (tree ident, bool me static const char * newabi_append_ro (const char *name) { - char *dollar; + const char *dollar; char *p; static char string[BUFSIZE]; dollar = strchr (name, '$');