Mercurial > hg > graal-jvmci-8
changeset 21961:9a73e6176063
fixed C++ compiler warning
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 13 Jun 2015 01:32:44 +0200 |
parents | f15b1d92e34b |
children | a286f49a92c9 |
files | src/share/vm/jvmci/jvmciRuntime.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciRuntime.cpp Sat Jun 13 01:01:21 2015 +0200 +++ b/src/share/vm/jvmci/jvmciRuntime.cpp Sat Jun 13 01:32:44 2015 +0200 @@ -768,7 +768,7 @@ struct dirent *entry; char *dbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(jvmciDir), mtInternal); JVMCIPropertiesFileClosure closure(plist); - const int suffix_len = strlen(".properties"); + const unsigned suffix_len = strlen(".properties"); while ((entry = os::readdir(dir, (dirent *) dbuf)) != NULL && !closure.is_aborted()) { const char* name = entry->d_name; if (strlen(name) > suffix_len && strcmp(name + strlen(name) - suffix_len, ".properties") == 0) {