1
0
Fork 0

fixing compiler warnings

This commit is contained in:
Simon Grätzer 2017-05-30 11:45:05 +02:00
parent 9e5f2b1b74
commit c19bca0eeb
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ void doFromToTest(double num){
template <typename T>
void doFromToTest(T num){
T x = num , y;
char s[sizeof(x)];
char s[sizeof(x)] = {0};
char* p = &s[0];
toPersistent(x,p);
y = fromPersistent<T>(p);