Skip to content

Commit 6301778

Browse files
committed
Fix windows build
1 parent aa4852f commit 6301778

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

repl/repl_win32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const char* Linenoise_GetInputLine(ui_state_t* state, repl_state_t* repl, uint32
1515

1616
if (line)
1717
{
18-
*length = (uint32_t)strlen(line);
18+
*length = cast(uint32_t)strlen(line);
1919
linenoiseHistoryAdd(line);
2020
}
2121
else

run_tests.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cl /TP parser\metac_lexer.c hash\crc32c.c os\os.c os\metac_alloc.c /DTEST_LEXER /Od /Zi /D_SILENCE_IVEC_C4799
22
metac_lexer.exe
33

4-
cl /TP parser\metac_parser_obj.c driver\metac_lpp.c /DNO_FIBERS /DNO_PREPROCESSOR /DNO_DOT_PRINTER /DTEST_PARSER /DNO_SEMANTIC /Od /Zi /MD /D_SILENCE_IVEC_C4799 /D_SILENCE_FVEC_C4799
4+
cl /TP parser\metac_parser_obj.c driver\metac_lpp.c /DNO_FIBERS /DNO_PREPROCESSOR /DOLD_PARSER /DNO_DOT_PRINTER /DTEST_PARSER /DNO_SEMANTIC /Od /Zi /MD /D_SILENCE_IVEC_C4799 /D_SILENCE_FVEC_C4799
55
metac_parser_obj.exe

0 commit comments

Comments
 (0)