diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 585b56d31c290808451949e8e7a50b5163268151..014082f99a1e6e5197b273e134e8b904ec1bb9ca 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-11  Kai Tietz  <kai.tietz@onevision.com>
+
+	* lto-plugin.c (dump_symtab): Correct printf argument type.
+	(finish_conflict_resolution): Initialize resolution.
+
 2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR bootstrap/45951
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index 7e8443d021e5e3c2510ff23b42c6268340c9878b..433f545391f2f0e7925813a1e807cdb0aca74a2c 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -257,7 +257,7 @@ dump_symtab (FILE *f, struct plugin_symtab *symtab)
       
       assert (resolution != LDPR_UNKNOWN);
 
-      fprintf (f, "%d %x %s %s\n", slot, symtab->aux[j].id,
+      fprintf (f, "%u %x %s %s\n", (unsigned int) slot, symtab->aux[j].id,
 	       lto_resolution_str[resolution], 
 	       symtab->syms[j].name);
     }
@@ -277,7 +277,7 @@ finish_conflict_resolution (struct plugin_symtab *symtab,
 
   for (i = 0; i < symtab->nsyms; i++)
     { 
-      int resolution;
+      int resolution = LDPR_UNKNOWN;
 
       if (symtab->aux[i].next_conflict == -1)
 	continue;