summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2007-06-14 14:12:03 +0000
committerpixel <pixel>2007-06-14 14:12:03 +0000
commit3f1e5e1c235d7ba4afa1908313901360c7e7658b (patch)
tree5cbaa015c65f9b6e4d2a4bfd812ec8e4220cae7f /lib
parentb5b47c9c302e936e8961a82e8163263fca6a897a (diff)
This was so wrong...
Diffstat (limited to 'lib')
-rw-r--r--lib/LuaTask.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc
index b75a5e3..3dcabdc 100644
--- a/lib/LuaTask.cc
+++ b/lib/LuaTask.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: LuaTask.cc,v 1.11 2007-05-30 19:03:22 pixel Exp $ */
+/* $Id: LuaTask.cc,v 1.12 2007-06-14 14:12:03 pixel Exp $ */
#include <LuaTask.h>
#include <LuaHandle.h>
@@ -59,15 +59,15 @@ LuaTask::~LuaTask() {
}
LuaTask * LuaTask::gettop() {
- if (!hfind(h, (Uint8 *) L, sizeof(L))) {
- hadd(h, (Uint8 *) L, sizeof(L), 0);
+ if (!hfind(h, (Uint8 *) &L, sizeof(L))) {
+ hadd(h, (Uint8 *) &L, sizeof(L), 0);
}
return (LuaTask *) hstuff(h);
}
void LuaTask::settop(LuaTask * v) {
- if (!hfind(h, (Uint8 *) L, sizeof(L)))
+ if (!hfind(h, (Uint8 *) &L, sizeof(L)))
return;
if (v) {
hstuff(h) = v;