]> git.wh0rd.org Git - fontconfig.git/commit
fc-{list,match}: constify format string
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Nov 2011 20:33:12 +0000 (15:33 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 21 Feb 2012 19:15:58 +0000 (14:15 -0500)
commit01c833379e19d8f8752ac7cec15b179c71242e2c
treeb2edfa877e390e5b8ebc1197bab671c6afd8562c
parent123d344f4590c45c5ccced8c46d157edb2b9efd2
fc-{list,match}: constify format string

We don't free this string anywhere, so mark it const to avoid gcc warnings
and possible bugs in the future (if people did try freeing it).

fc-list.c: In function 'main':
fc-list.c:161:16: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]

fc-match.c: In function 'main':
fc-match.c:201:13: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]
fc-match.c:203:13: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
fc-list/fc-list.c
fc-match/fc-match.c