diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2018-08-22 17:37:32 -0300 |
---|---|---|
committer | Diego Nehab <diego.nehab@gmail.com> | 2018-08-22 17:37:32 -0300 |
commit | 288219fd6b53ce2e709745c9918aa4c4b7f715c9 (patch) | |
tree | a41f0afa7e6a336e0e889356071d8428d4056484 /src/mime.c | |
parent | 648d81281f177f43de3d7b66e5923bdbaaeb25d9 (diff) | |
download | luasocket-288219fd6b53ce2e709745c9918aa4c4b7f715c9.tar.gz luasocket-288219fd6b53ce2e709745c9918aa4c4b7f715c9.tar.bz2 luasocket-288219fd6b53ce2e709745c9918aa4c4b7f715c9.zip |
Update to Visual Studio 2017.
Diffstat (limited to 'src/mime.c')
-rwxr-xr-x[-rw-r--r--] | src/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime.c b/src/mime.c index db356fc..338ecd4 100644..100755 --- a/src/mime.c +++ b/src/mime.c | |||
@@ -654,7 +654,7 @@ static int eolprocess(int c, int last, const char *marker, | |||
654 | \*-------------------------------------------------------------------------*/ | 654 | \*-------------------------------------------------------------------------*/ |
655 | static int mime_global_eol(lua_State *L) | 655 | static int mime_global_eol(lua_State *L) |
656 | { | 656 | { |
657 | int ctx = luaL_checkinteger(L, 1); | 657 | int ctx = (int) luaL_checkinteger(L, 1); |
658 | size_t isize = 0; | 658 | size_t isize = 0; |
659 | const char *input = luaL_optlstring(L, 2, NULL, &isize); | 659 | const char *input = luaL_optlstring(L, 2, NULL, &isize); |
660 | const char *last = input + isize; | 660 | const char *last = input + isize; |