< prev index next >

src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c

Print this page
rev 16167 : 8170525: Fix minor issues in awt coding

@@ -807,9 +807,9 @@
 {
     *scaleFactor = 1;
 #ifndef __linux__
     return JNI_FALSE;
 #endif
-    *scaleFactor = getNativeScaleFactor(NULL);
+    *scaleFactor = (float)getNativeScaleFactor(NULL);
     return GetScaledImageName(fileName, scaledImgName, scaleFactor, scaledImageNameLength);
 }
 
< prev index next >