From f90a130b0790985b518aa1360e074212463169e1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 20 Jun 2011 13:35:23 -0300 Subject: typo in message --- lbitlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbitlib.c b/lbitlib.c index 22796a25..705ca343 100644 --- a/lbitlib.c +++ b/lbitlib.c @@ -1,5 +1,5 @@ /* -** $Id: lbitlib.c,v 1.14 2010/11/29 15:19:28 roberto Exp roberto $ +** $Id: lbitlib.c,v 1.15 2010/12/17 13:26:38 roberto Exp roberto $ ** Standard library for bitwise operations ** See Copyright Notice in lua.h */ @@ -152,7 +152,7 @@ static int b_rrot (lua_State *L) { static int fieldargs (lua_State *L, int farg, int *width) { int f = luaL_checkint(L, farg); int w = luaL_optint(L, farg + 1, 1); - luaL_argcheck(L, 0 <= f, farg, "field cannot be netative"); + luaL_argcheck(L, 0 <= f, farg, "field cannot be negative"); luaL_argcheck(L, 0 < w, farg + 1, "width must be positive"); if (f + w > LUA_NBITS) luaL_error(L, "trying to access non-existent bits"); -- cgit v1.2.3-55-g6feb