1.1 --- a/src/share/vm/adlc/dfa.cpp Thu Feb 26 16:57:21 2009 -0800 1.2 +++ b/src/share/vm/adlc/dfa.cpp Fri Feb 27 03:35:40 2009 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -870,7 +870,7 @@ 1.11 } 1.12 1.13 // Print out the dictionary contents as key-value pairs 1.14 -static void dumpekey(const void* key) { fprintf(stdout, "%s", key); } 1.15 +static void dumpekey(const void* key) { fprintf(stdout, "%s", (char*) key); } 1.16 static void dumpexpr(const void* expr) { fflush(stdout); ((Expr*)expr)->print(); } 1.17 1.18 void ExprDict::dump() { 1.19 @@ -1020,7 +1020,7 @@ 1.20 } 1.21 1.22 // Print out the dictionary contents as key-value pairs 1.23 -static void print_key (const void* key) { fprintf(stdout, "%s", key); } 1.24 +static void print_key (const void* key) { fprintf(stdout, "%s", (char*) key); } 1.25 static void print_production(const void* production) { fflush(stdout); ((Production*)production)->print(); } 1.26 1.27 void ProductionState::print() {