mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6778669: Patch from Red Hat -- fixes compilation errors
Some fixes which are required to build on recent GCCs. Reviewed-by: never, kvn
This commit is contained in:
parent
114da9bcfc
commit
d6cdfde9d9
20 changed files with 188 additions and 175 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -370,7 +370,7 @@ bool FormDict::operator ==(const FormDict &d) const {
|
|||
}
|
||||
|
||||
// Print out the dictionary contents as key-value pairs
|
||||
static void dumpkey (const void* key) { fprintf(stdout, "%s", key); }
|
||||
static void dumpkey (const void* key) { fprintf(stdout, "%s", (char*) key); }
|
||||
static void dumpform(const void* form) { fflush(stdout); ((Form*)form)->dump(); }
|
||||
|
||||
void FormDict::dump() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue