Mercurial > hg > graal-compiler
changeset 21970:1e0012efac83
Also fix compiler warning (thus, error) on Windows.
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Mon, 15 Jun 2015 13:45:35 +0200 |
parents | eef888fdb8b1 |
children | 28debbb6496d |
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 Mon Jun 15 11:55:38 2015 +0200 +++ b/src/share/vm/jvmci/jvmciRuntime.cpp Mon Jun 15 13:45:35 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 unsigned suffix_len = strlen(".properties"); + const unsigned suffix_len = (unsigned)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) {