From 149a29b38e13bba5f2c0f4b31e459e51d02edd44 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 18 Oct 2008 11:06:49 +0000 Subject: [PATCH] libcaca: fix a minor warning on DOS targets. --- caca/figfont.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caca/figfont.c b/caca/figfont.c index 9558429..727fc69 100644 --- a/caca/figfont.c +++ b/caca/figfont.c @@ -285,7 +285,9 @@ int caca_flush_figlet(caca_canvas_t *cv) static caca_figfont_t * open_figfont(char const *path) { +#if !defined __KERNEL__ && defined HAVE_SNPRINTF char altpath[2048]; +#endif char buf[2048]; char hardblank[10]; caca_figfont_t *ff;