diff --git a/src/ls_oci8.c b/src/ls_oci8.c index 31b675d..f603cb9 100644 --- a/src/ls_oci8.c +++ b/src/ls_oci8.c @@ -2,7 +2,7 @@ ** LuaSQL, Oracle driver ** Authors: Tomas Guisasola, Leonardo Godinho ** See Copyright Notice in license.html -** $Id: ls_oci8.c,v 1.20 2004/09/17 15:37:30 tomas Exp $ +** $Id: ls_oci8.c,v 1.21 2004/09/20 13:05:08 tuler Exp $ */ #include @@ -80,9 +80,6 @@ int checkerr (lua_State *L, sword status, OCIError *errhp); #define ASSERT(L,exp,err) {sword s = exp; if (s) return checkerr (L, s, err);} -LUASQL_API int luasql_libopen_oracle (lua_State *L); - - /* ** Check for valid environment. */ @@ -162,7 +159,7 @@ int checkerr (lua_State *L, sword status, OCIError *errhp) { ** Copy the column name to the column structure and convert it to lower case. */ static void copy_column_name (column_data *col, text *name) { - int i; + unsigned int i; col->name = (text *)malloc (col->namelen); memcpy (col->name, name, col->namelen); for (i = 0; i < col->namelen; i++)