commit | 6395af0fc6ac20afcd2b5c4c60fd53d1c2b76df9 | [log] [tgz] |
---|---|---|
author | Guillaume Chatelet <gchatelet@google.com> | Fri Feb 09 14:50:12 2018 +0100 |
committer | Guillaume Chatelet <gchatelet@google.com> | Fri Feb 09 14:50:12 2018 +0100 |
tree | 7c8014562629e59e090d51160867b224671d7161 | |
parent | 4189efff9209b99d80074e473ba3596c7f03c46c [diff] |
Fixing MSVC build.
diff --git a/src/list_cpu_features.c b/src/list_cpu_features.c index 7b3dd2f..92b6dbc 100644 --- a/src/list_cpu_features.c +++ b/src/list_cpu_features.c
@@ -39,7 +39,7 @@ #define DEFINE_PRINT_FLAGS(HasFeature, FeatureName, FeatureType, LastEnum) \ void PrintFlags(const FeatureType* features) { \ size_t i; \ - const char* ptrs[LastEnum] = {}; \ + const char* ptrs[LastEnum] = {0}; \ size_t count = 0; \ for (i = 0; i < LastEnum; ++i) { \ if (HasFeature(features, i)) { \