Skip to content

Commit c5f6e86

Browse files
splhackFacebook Github Bot
authored and
Facebook Github Bot
committed
Workaround fix for Visual Studio
Reviewed By: emilsjolander Differential Revision: D4191268 fbshipit-source-id: 53fdcc388292e76c2b97ad071f0d7c27d0613ecf
1 parent 07f67fa commit c5f6e86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

React/CSSLayout/CSSLayout.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
25192519
va_end(args);
25202520
}
25212521

2522-
static bool experimentalFeatures[CSSExperimentalFeatureCount];
2522+
static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
25232523

25242524
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
25252525
experimentalFeatures[feature] = enabled;

ReactCommon/CSSLayout/CSSLayout/CSSLayout.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
25192519
va_end(args);
25202520
}
25212521

2522-
static bool experimentalFeatures[CSSExperimentalFeatureCount];
2522+
static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
25232523

25242524
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
25252525
experimentalFeatures[feature] = enabled;

0 commit comments

Comments
 (0)