]> 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>
Mon, 7 Nov 2011 20:41:52 +0000 (15:41 -0500)
commitfdc67d0805d655544c796a17d126c25f39a48e8a
tree9220a5bba3b3b6fa886f5b55f3738927bb5fdd66
parent4d93d3a0d0f5d9b6a0a1cc27cad63f67ce085b3b
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