Diff

util-src/pposix.c @ 2830:1df57426263a

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
parent 2060:b23295b5428a
child 2923:b7049746bd29
line wrap: on
line diff
--- a/util-src/pposix.c	Fri Jan 01 03:32:26 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 */