# HG changeset patch # User Doug Simon # Date 1434151964 -7200 # Node ID 9a73e617606336779e8b94d3d4f89c9c47cdfce0 # Parent f15b1d92e34ba48b74e2a55c3423322849e57b3c fixed C++ compiler warning diff -r f15b1d92e34b -r 9a73e6176063 src/share/vm/jvmci/jvmciRuntime.cpp --- 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) {