src/java.base/share/native/libjli/java.c

Print this page

        

@@ -771,11 +771,11 @@
             /*
              * Make sure the thread stack size is big enough that we won't get a stack
              * overflow before the JVM startup code can check to make sure the stack
              * is big enough.
              */
-            if (threadStackSize < STACK_SIZE_MINIMUM) {
+            if (threadStackSize < (jlong) STACK_SIZE_MINIMUM) {
                 threadStackSize = STACK_SIZE_MINIMUM;
             }
         }
     }