changeset 20:05a44cbd1150

Minor warning fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Apr 2011 14:57:53 +0300
parents bbb243eba688
children 1f7d8693fda8
files th_config.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_config.c	Wed Apr 20 14:57:42 2011 +0300
+++ b/th_config.c	Wed Apr 20 14:57:53 2011 +0300
@@ -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);
 }
@@ -562,7 +562,7 @@
                 tmpCh = c;
                 isStart = FALSE;
             } else if (VISEND(c)) {
-                BOOL tmpBool;
+                BOOL tmpBool = FALSE;
                 
                 /* End of boolean parsing */
                 switch (tmpCh) {