aboutsummaryrefslogtreecommitdiff
path: root/src/mime.c
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2018-08-22 17:37:32 -0300
committerDiego Nehab <diego.nehab@gmail.com>2018-08-22 17:37:32 -0300
commit288219fd6b53ce2e709745c9918aa4c4b7f715c9 (patch)
treea41f0afa7e6a336e0e889356071d8428d4056484 /src/mime.c
parent648d81281f177f43de3d7b66e5923bdbaaeb25d9 (diff)
downloadluasocket-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.c2
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\*-------------------------------------------------------------------------*/
655static int mime_global_eol(lua_State *L) 655static 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;