fix warnings on vs2017

This commit is contained in:
daan 2020-09-05 12:04:25 -07:00
parent 44ba0d254b
commit 9d82b15d87
4 changed files with 13 additions and 10 deletions

View file

@ -11,6 +11,9 @@ terms of the MIT license. A copy of the license can be found in the file
#include <stdio.h> // fputs, stderr
#include <string.h> // memset
#if defined(_MSC_VER) && (_MSC_VER < 1920)
#pragma warning(disable:4204) // non-constant aggregate initializer
#endif
/* -----------------------------------------------------------
Statistics operations