hotspot/src/share/vm/adlc/dfa.cpp
changeset 2154 72a9b7284ccf
parent 2105 347008ce7984
parent 2129 e810a33b5c67
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/adlc/dfa.cpp	Mon Mar 09 13:34:00 2009 -0700
+++ b/hotspot/src/share/vm/adlc/dfa.cpp	Thu Mar 12 18:16:36 2009 -0700
@@ -870,7 +870,7 @@
 }
 
 // Print out the dictionary contents as key-value pairs
-static void dumpekey(const void* key)  { fprintf(stdout, "%s", key); }
+static void dumpekey(const void* key)  { fprintf(stdout, "%s", (char*) key); }
 static void dumpexpr(const void* expr) { fflush(stdout); ((Expr*)expr)->print(); }
 
 void ExprDict::dump() {
@@ -1020,7 +1020,7 @@
 }
 
 // Print out the dictionary contents as key-value pairs
-static void print_key (const void* key)              { fprintf(stdout, "%s", key); }
+static void print_key (const void* key)              { fprintf(stdout, "%s", (char*) key); }
 static void print_production(const void* production) { fflush(stdout); ((Production*)production)->print(); }
 
 void ProductionState::print() {