From 1b7094dbd40c5d645e473f2a179d01df6ecced52 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Sat, 14 Jul 2012 16:06:25 +0300 Subject: [PATCH] fix unsigned long printout warning Signed-off-by: Mika Laitio --- src/StoreDay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StoreDay.cc b/src/StoreDay.cc index 08e56c9..957b7ef 100644 --- a/src/StoreDay.cc +++ b/src/StoreDay.cc @@ -80,7 +80,7 @@ void StoreDay::save(string device_id, ostream = NULL; f_path = ""; - log_info("[%s] writing %d data values to save.\n", device_id.c_str(), data_list->size()); + log_info("[%s] writing %lu data values to save.\n", device_id.c_str(), data_list->size()); // TODO: add mutex to protect string_list while it's read and emptied for(iter = data_list->begin(); iter != data_list->end(); iter++) { data = (Data *)*iter; -- 2.41.1