From: Mika Laitio Date: Sat, 14 Jul 2012 13:06:25 +0000 (+0300) Subject: fix unsigned long printout warning X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b7094dbd40c5d645e473f2a179d01df6ecced52;p=libplp.git fix unsigned long printout warning Signed-off-by: Mika Laitio --- 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;