diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 22:05:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 22:05:41 -0700 |
commit | 5815b461672845cf6de179f04c778354139f7834 (patch) | |
tree | 1c4c34740030d1018d81ce8a9ec17968c25e2ed3 | |
parent | d9200f965f056d3da49476dd9b8333ff47265f30 (diff) |
Add const attribute to fieldP fix a gcc -Wwrite-strings warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xfontsel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ void ParseFontNames(XtPointer closure) } for (f = 0, p = *fontNames++; f < FIELD_COUNT; f++) { - char *fieldP; + const char *fieldP; if (*p) ++p; if (*p == DELIM || *p == '\0') { |