Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 21158:d114be1b5b3f
explicitly convert to int to satisfy windows builder
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Thu, 30 Apr 2015 11:30:46 +0200 |
parents | 1621af5cb444 |
children | f34ae5c01864 |
comparison
equal
deleted
inserted
replaced
21157:31a1589aecdf | 21158:d114be1b5b3f |
---|---|
3534 oop installedCodeName = NULL; | 3534 oop installedCodeName = NULL; |
3535 if (installedCode->is_a(InstalledCode::klass())) { | 3535 if (installedCode->is_a(InstalledCode::klass())) { |
3536 installedCodeName = InstalledCode::name(installedCode); | 3536 installedCodeName = InstalledCode::name(installedCode); |
3537 } | 3537 } |
3538 if (installedCodeName != NULL) { | 3538 if (installedCodeName != NULL) { |
3539 return java_lang_String::as_utf8_string(installedCodeName, buf, buflen); | 3539 return java_lang_String::as_utf8_string(installedCodeName, buf, (int)buflen); |
3540 } else { | 3540 } else { |
3541 jio_snprintf(buf, buflen, "null"); | 3541 jio_snprintf(buf, buflen, "null"); |
3542 return buf; | 3542 return buf; |
3543 } | 3543 } |
3544 } | 3544 } |