Mercurial > hg > nnchat
diff th_config.c @ 215:659b8229d015
Silence some warnings on OpenBSD.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 21 Nov 2010 04:12:16 +0200 |
parents | f7b571debd81 |
children | 0db02b8d2d11 |
line wrap: on
line diff
--- a/th_config.c Sun Nov 21 01:01:59 2010 +0200 +++ b/th_config.c Sun Nov 21 04:12:16 2010 +0200 @@ -227,7 +227,7 @@ { va_list ap; va_start(ap, fmt); - fprintf(stderr, "%s: '%s', line #%d: ", th_prog_name, f->filename, f->line); + fprintf(stderr, "%s: '%s', line #%d: ", th_prog_name, f->filename, (unsigned int) f->line); vfprintf(stderr, fmt, ap); va_end(ap); }