Browse Source

int -> size_t

Jorrit Rouwe 4 years ago
parent
commit
fb4528686c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jolt/Core/TickCounter.cpp

+ 1 - 1
Jolt/Core/TickCounter.cpp

@@ -56,7 +56,7 @@ static uint64 sProcessorTicksPerSecond = []() {
 		#endif
 
 			// Check if line starts with correct string
-			const int num_chars = strlen(cpu_str);
+			const size_t num_chars = strlen(cpu_str);
 			if (strncmp(line.c_str(), cpu_str, num_chars) == 0)
 			{
 				// Find ':'