Commit 10f4ff1
authored
Use explicit casts (#131)
This fixes the following warnings in Visual Studio when built with /W4:
editorconfig\src\lib\ec_glob.c(133,24): warning C5292: 'function': 'PCRE2_SPTR8' to 'char [31]' differs in indirection: one is the unique plain 'char' type and the other is not
editorconfig\src\lib\ec_glob.c(282,42): warning C5292: 'function': 'PCRE2_SPTR8' to 'char *' differs in indirection: one is the unique plain 'char' type and the other is not
editorconfig\src\lib\ec_glob.c(356,24): warning C5292: 'function': 'PCRE2_SPTR8' to 'char [8194]' differs in indirection: one is the unique plain 'char' type and the other is not
editorconfig\src\lib\ec_glob.c(365,26): warning C5292: 'function': 'PCRE2_SPTR8' to 'const char *' differs in indirection: one is the unique plain 'char' type and the other is not
Signed-off-by: Sven Strickroth <[email protected]>1 parent 861eda2 commit 10f4ff1
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
0 commit comments