--- old/src/java.desktop/unix/native/common/awt/fontpath.c 2018-11-26 16:07:31.539177181 +0530 +++ new/src/java.desktop/unix/native/common/awt/fontpath.c 2018-11-26 16:07:31.263315181 +0530 @@ -286,7 +286,7 @@ /* printf ( "Appending %s\n", fDirP->name[index] ); */ - onePath = SAFE_SIZE_ARRAY_ALLOC(malloc, strlen (fDirP->name[index]) + 2, sizeof( char ) ); + onePath = SAFE_SIZE_ARRAY_ALLOC(malloc, (int)strlen (fDirP->name[index]) + 2, (int)sizeof( char ) ); if (onePath == NULL) { free ( ( void *) appendDirList );