6914002: unsigned compare problem after 5057818

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2010-01-05 16:12:26 -08:00
parent 6c0af1575c
commit 0998a8591f
2 changed files with 2 additions and 2 deletions

View file

@ -1170,7 +1170,7 @@ void nmethod::log_state_change() const {
}
// Common functionality for both make_not_entrant and make_zombie
bool nmethod::make_not_entrant_or_zombie(int state) {
bool nmethod::make_not_entrant_or_zombie(unsigned int state) {
assert(state == zombie || state == not_entrant, "must be zombie or not_entrant");
// If the method is already zombie there is nothing to do