Browse Source

src/profiling/profiling_helpers.c: follow coding convention

Nathalie Furmento 8 years ago
parent
commit
4aec7b4753
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/profiling/profiling_helpers.c

+ 2 - 1
src/profiling/profiling_helpers.c

@@ -24,7 +24,8 @@ static double convert_to_byte_units(float d, unsigned max_unit, unsigned *unit)
 	const double divisor = 1024;
 
 	*unit = 0;
-	while (d > divisor && *unit < max_unit) {
+	while (d > divisor && *unit < max_unit)
+	{
 		d /= divisor;
 		(*unit)++;
 	}