< prev index next >

src/share/vm/logging/logFileOutput.cpp

Print this page

        

@@ -189,11 +189,11 @@
     } else if (strcmp(FileSizeOptionKey, key) == 0) {
       julong value;
       success = Arguments::atojulong(value_str, &value);
       if (!success || (value > SIZE_MAX)) {
         errstream->print_cr("Invalid option: %s must be in range [0, "
-                            SIZE_FORMAT "]", FileSizeOptionKey, SIZE_MAX);
+                            SIZE_FORMAT "]", FileSizeOptionKey, (size_t)SIZE_MAX);
         success = false;
         break;
       }
       _rotate_size = static_cast<size_t>(value);
     } else {

@@ -434,6 +434,5 @@
 
   out->print("filecount=%u,filesize=" SIZE_FORMAT "%s", _file_count,
              byte_size_in_proper_unit(_rotate_size),
              proper_unit_for_byte_size(_rotate_size));
 }
-
< prev index next >