]> git.wh0rd.org Git - fontconfig.git/commit
fc-cat: fix pointer warning
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Nov 2011 20:24:53 +0000 (15:24 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 7 Nov 2011 20:29:31 +0000 (15:29 -0500)
commita9c34164f2c16fad92476fca54a4034c6f08e6fa
tree0ee77a1d808bdfacc710c9cf57b12ae3fb551e99
parent13c62ed485cdfd84c94c99b534819e303278fb15
fc-cat: fix pointer warning

Add a cast to avoid a gcc warning:

fc-cat.c: In function 'cache_print_set':
fc-cat.c:230:2: warning: pointer targets in passing argument 2
of 'FcPatternFormat' differ in signedness [-Wpointer-sign]
../fontconfig/fontconfig.h:860:1: note:
expected 'const FcChar8 *' but argument is of type 'char *'

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