summaryrefslogtreecommitdiff
path: root/src/lauxlib.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2013-03-21 12:00:00 +0000
committerrepogen <>2013-03-21 12:00:00 +0000
commitdc27609467d2699ac9252e89d632432ac5f798f2 (patch)
treeb934d79a77a76df417078dc6ac162bb0012708bb /src/lauxlib.c
parenta101faf3e9db5b8b47cb0bcfb973b13d46ca304a (diff)
downloadlua-github-5.2.2.tar.gz
Diffstat (limited to 'src/lauxlib.c')
-rw-r--r--src/lauxlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lauxlib.c b/src/lauxlib.c
index 42521bce..2e989d66 100644
--- a/src/lauxlib.c
+++ b/src/lauxlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lauxlib.c,v 1.247 2012/10/19 15:55:01 roberto Exp $
+** $Id: lauxlib.c,v 1.248 2013/03/21 13:54:57 roberto Exp $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -599,7 +599,7 @@ static int skipBOM (LoadF *lf) {
lf->n = 0;
do {
c = getc(lf->f);
- if (c == EOF || c != *(unsigned char *)p++) return c;
+ if (c == EOF || c != *(const unsigned char *)p++) return c;
lf->buff[lf->n++] = c; /* to be read by the parser */
} while (*p != '\0');
lf->n = 0; /* prefix matched; discard it */