comparison Core/Logging.cpp @ 3477:a4f2354f04c3

fix warning from gcc 8.3.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Jul 2019 14:35:58 +0200
parents a5e225eac0a9
children e7723a39adf8
comparison
equal deleted inserted replaced
3476:04bdc9a17c1b 3477:a4f2354f04c3
675 msg The user-supplied message" 675 msg The user-supplied message"
676 676
677 In this implementation, "threadid" is not printed. 677 In this implementation, "threadid" is not printed.
678 **/ 678 **/
679 679
680 char date[40]; 680 char date[64];
681 sprintf(date, "%c%02d%02d %02d:%02d:%02d.%06d ", 681 sprintf(date, "%c%02d%02d %02d:%02d:%02d.%06d ",
682 level[0], 682 level[0],
683 now.date().month().as_number(), 683 now.date().month().as_number(),
684 now.date().day().as_number(), 684 now.date().day().as_number(),
685 static_cast<int>(duration.hours()), 685 static_cast<int>(duration.hours()),