diff options
author | pixel <pixel> | 2007-06-14 14:12:03 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-14 14:12:03 +0000 |
commit | 3f1e5e1c235d7ba4afa1908313901360c7e7658b (patch) | |
tree | 5cbaa015c65f9b6e4d2a4bfd812ec8e4220cae7f | |
parent | b5b47c9c302e936e8961a82e8163263fca6a897a (diff) |
This was so wrong...
-rw-r--r-- | lib/LuaTask.cc | 8 |
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; |