summaryrefslogtreecommitdiff
path: root/library/LuaApi.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-06-19 21:02:27 +0400
committerAlexander Gavrilov2012-06-19 21:02:27 +0400
commite687a07f2e463472ad4609371f7b914b5de649a6 (patch)
tree9c98e4d89219d81f24b8bef782ea245ad5de5c11 /library/LuaApi.cpp
parent50bd758876adb8a39c54f107af9a5bd2274a3638 (diff)
downloaddfhack-e687a07f2e463472ad4609371f7b914b5de649a6.tar.gz
dfhack-e687a07f2e463472ad4609371f7b914b5de649a6.tar.bz2
dfhack-e687a07f2e463472ad4609371f7b914b5de649a6.tar.xz
Fix getRebaseDelta: should be signed int.
Diffstat (limited to 'library/LuaApi.cpp')
-rw-r--r--library/LuaApi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp
index 3693070d..092404e3 100644
--- a/library/LuaApi.cpp
+++ b/library/LuaApi.cpp
@@ -1036,7 +1036,7 @@ static void *checkaddr(lua_State *L, int idx, bool allow_null = false)
return rv;
}
-static uint32_t getRebaseDelta() { return Core::getInstance().vinfo->getRebaseDelta(); }
+static int getRebaseDelta() { return Core::getInstance().vinfo->getRebaseDelta(); }
static const LuaWrapper::FunctionReg dfhack_internal_module[] = {
WRAP(getRebaseDelta),