From 68d33e2c54d1f1764600e9d4055c9552c83e6004 Mon Sep 17 00:00:00 2001 From: RvdE Date: Sat, 1 Feb 2014 13:33:07 +0100 Subject: [PATCH] Update luabackend.hh time_t is int on i386, so only declare the overload for time_t on 64bit --- modules/luabackend/luabackend.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index 0e8654d55..f0a43de0c 100644 --- a/modules/luabackend/luabackend.hh +++ b/modules/luabackend/luabackend.hh @@ -155,7 +155,9 @@ private: // FUNCTIONS TO THIS BACKEND bool getValueFromTable(lua_State *lua, const std::string& key, string& value); bool getValueFromTable(lua_State *lua, uint32_t key, string& value); +#ifndef __i386__ bool getValueFromTable(lua_State *lua, const std::string& key, time_t& value); +#endif bool getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value); bool getValueFromTable(lua_State *lua, const std::string& key, uint16_t& value); bool getValueFromTable(lua_State *lua, const std::string& key, int& value); -- 2.40.0