From 818ff9a4ebd558794ae25005811d0f3c549e6c0c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 18 Feb 2009 21:29:03 +0000 Subject: Assign const qualifier to the font variable, fix warning. Originally committed as revision 17436 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/imlib2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vhook') diff --git a/vhook/imlib2.c b/vhook/imlib2.c index fad61ddf1b..cf55031b6e 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -146,7 +146,7 @@ int Configure(void **ctxp, int argc, char *argv[]) int c; ContextInfo *ci; char *rgbtxt = 0; - char *font = "LucidaSansDemiBold/16"; + const char *font = "LucidaSansDemiBold/16"; char *fp = getenv("FONTPATH"); char *color = 0; FILE *f; -- cgit v1.2.3