utils_latency: use portable format string
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 27 Jan 2015 13:46:02 +0000 (14:46 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Fri, 6 Mar 2015 08:18:39 +0000 (09:18 +0100)
src/utils_latency.c

index cfe90e2..96ce8e3 100644 (file)
@@ -102,7 +102,7 @@ void change_bin_width (latency_counter_t *lc, size_t val) /* {{{ */
       DEBUG("utils_latency: change_bin_width: fixed all bins");
   }
 
-  DEBUG("utils_latency: change_bin_width: val-[%ld], oldBinWidth-[%d], "
+  DEBUG("utils_latency: change_bin_width: val-[%zu], oldBinWidth-[%d], "
           "newBinWidth-[%d], required_bin_width-[%f], "
           "required_bin_width_logbase2-[%f]",
           val, old_bin_width, new_bin_width, required_bin_width,