Skip to content

Commit e0c312c

Browse files
committed
google-fuzzer: avoid warnings about c / c++ size diff
1 parent 8210ccb commit e0c312c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/secure-streams/private-lib-secure-streams.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,17 @@ typedef struct lws_ss_handle {
132132

133133
union {
134134
struct { /* LWSSSP_H1 */
135-
#if defined(WIN32)
135+
#if defined(WIN32) || defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
136136
uint8_t dummy;
137137
#endif
138138
} h1;
139139
struct { /* LWSSSP_H2 */
140-
#if defined(WIN32)
140+
#if defined(WIN32) || defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
141141
uint8_t dummy;
142142
#endif
143143
} h2;
144144
struct { /* LWSSSP_WS */
145-
#if defined(WIN32)
145+
#if defined(WIN32) || defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
146146
uint8_t dummy;
147147
#endif
148148
} ws;

0 commit comments

Comments
 (0)