hotspot/src/share/vm/logging/logFileOutput.cpp
changeset 33120 63aca8d49f2a
parent 33097 96e348cb0442
child 34637 9b9298044d23
--- a/hotspot/src/share/vm/logging/logFileOutput.cpp	Fri Oct 02 16:48:31 2015 +0000
+++ b/hotspot/src/share/vm/logging/logFileOutput.cpp	Mon Sep 28 12:57:47 2015 +0200
@@ -216,11 +216,11 @@
 
   // At least one of the place-holders were found in the file_name
   const char* first = "";
-  size_t first_pos = -1;
+  size_t first_pos = SIZE_MAX;
   size_t first_replace_len = 0;
 
   const char* second = "";
-  size_t second_pos = -1;
+  size_t second_pos = SIZE_MAX;
   size_t second_replace_len = 0;
 
   // If we found a %p, then setup our variables accordingly