]> pilppa.com Git - libplp.git/commitdiff
fix unsigned long printout warning
authorMika Laitio <lamikr@pilppa.org>
Sat, 14 Jul 2012 13:06:25 +0000 (16:06 +0300)
committerMika Laitio <lamikr@pilppa.org>
Sat, 14 Jul 2012 13:06:25 +0000 (16:06 +0300)
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
src/StoreDay.cc

index 08e56c97c0b9dd71ae6ee88d14af7d5d8a5c0941..957b7efc5d4a033593431b1ff6b5cdf26c09490a 100644 (file)
@@ -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;