summaryrefslogtreecommitdiff
path: root/lib/LuaHttp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaHttp.cc')
-rw-r--r--lib/LuaHttp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc
index e164eb4..6d22307 100644
--- a/lib/LuaHttp.cc
+++ b/lib/LuaHttp.cc
@@ -144,7 +144,7 @@ class LuaDomain : public Domain {
virtual ~LuaDomain() {
L->push(DOMAIN_REGISTRY);
L->gettable(LUA_REGISTRYINDEX);
- L->push((lua_Number id);
+ L->push((lua_Number) id);
L->push();
L->settable();
L->pop();