Minor fixups for tests in Windows.

This commit is contained in:
John Ralls 2015-01-15 16:08:00 -08:00
parent 97a689a83f
commit 1d3f486751
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#include <glib.h> #include <glib.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include "qof.h" #include "qof.h"
#include "Query.h" #include "Query.h"

View File

@ -173,7 +173,7 @@ struct to_string_visitor : boost::static_visitor<void>
void operator()(Timespec val) void operator()(Timespec val)
{ {
char tmp1[40]; char tmp1[40] {};
gnc_timespec_to_iso8601_buff (val, tmp1); gnc_timespec_to_iso8601_buff (val, tmp1);
output << "KVP_VALUE_TIMESPEC(" << tmp1 << ")"; output << "KVP_VALUE_TIMESPEC(" << tmp1 << ")";
} }