Mercurial > hg > graal-compiler
diff src/share/vm/adlc/dfa.cpp @ 628:7bb995fbd3c0
Merge
author | trims |
---|---|
date | Thu, 12 Mar 2009 18:16:36 -0700 |
parents | 0fbdb4381b99 dbbe28fc66b5 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/adlc/dfa.cpp Mon Mar 09 13:34:00 2009 -0700 +++ b/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() {