comparison Core/Logging.cpp @ 2836:7133ad478eea

fix Debian warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 16:17:46 +0200
parents a4f885670da7
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2831:b51233f03e7e 2836:7133ad478eea
494 msg The user-supplied message" 494 msg The user-supplied message"
495 495
496 In this implementation, "threadid" is not printed. 496 In this implementation, "threadid" is not printed.
497 **/ 497 **/
498 498
499 char date[32]; 499 char date[40];
500 sprintf(date, "%c%02d%02d %02d:%02d:%02d.%06d ", 500 sprintf(date, "%c%02d%02d %02d:%02d:%02d.%06d ",
501 level[0], 501 level[0],
502 now.date().month().as_number(), 502 now.date().month().as_number(),
503 now.date().day().as_number(), 503 now.date().day().as_number(),
504 static_cast<int>(duration.hours()), 504 static_cast<int>(duration.hours()),