summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-05-09 13:21:03 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-09 14:10:53 +0200
commit3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c (patch)
tree78f4f70ccad9c0534119651db7af7e7ec478485f /src/Bindings/ManualBindings.cpp
parentUpdated Core and ProtectionAreas to latest. (diff)
downloadcuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.gz
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.bz2
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.lz
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.xz
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.zst
cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.zip
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-rw-r--r--src/Bindings/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index ac349689a..c2392063a 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -1710,7 +1710,7 @@ public:
) override
{
AString content, contentType;
- return m_Callback.Call(&a_Request, a_UrlPath, cLuaState::Return, a_Content, a_ContentType);
+ return m_Callback.Call(const_cast<HTTPRequest *>(&a_Request), a_UrlPath, cLuaState::Return, a_Content, a_ContentType);
}
};