Changeset

2437:b1ba2473fd91

util.pposix: Fix return type of lc_abort to shush compiler warning
author Matthew Wild <mwild1@gmail.com>
date Sun, 10 Jan 2010 20:21:48 +0000
parents 2436:ccc71b5d2e01
children 2438:819ba949c7bc
files util-src/pposix.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/pposix.c	Sun Jan 10 17:35:37 2010 +0000
+++ b/util-src/pposix.c	Sun Jan 10 20:21:48 2010 +0000
@@ -463,9 +463,10 @@
 	return 3;
 }
 
-void lc_abort(lua_State* L)
+int lc_abort(lua_State* L)
 {
 	abort();
+	return 0;
 }
 
 /* Register functions */