8308458: Windows build failure with disassembler.cpp(792): warning C4267: '=': conversion from 'size_t' to 'int'
Reviewed-by: jiefu
This commit is contained in:
parent
b58980b73d
commit
491bdeaa90
@ -789,7 +789,7 @@ bool Disassembler::load_library(outputStream* st) {
|
||||
char* p = strrchr(buf, '/');
|
||||
*p = '\0';
|
||||
strcat(p, "/lib/");
|
||||
lib_offset = jvm_offset = strlen(buf);
|
||||
lib_offset = jvm_offset = (int)strlen(buf);
|
||||
#else
|
||||
{
|
||||
// Match "libjvm" instead of "jvm" on *nix platforms. Creates better matches.
|
||||
|
Loading…
Reference in New Issue
Block a user