summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-03-12 18:43:46 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-03-12 18:43:46 +0000
commita0420b520220a2b7b63d9199de36e168a6d59944 (patch)
treeab89f18497b1e27ca35f9d4010fee53fa23d1057 /plugins
parent19988eba6edaa3b4c7bc5807dc0d5c39b0f4303b (diff)
MirLua: Fixed typo
git-svn-id: http://svn.miranda-ng.org/main/trunk@16473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirLua/src/m_database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index b7d05e220b..5ee3c10ca0 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -180,7 +180,7 @@ static int array__call(lua_State *L)
BYTE *data = (BYTE*)lua_touserdata(L, 1);
size_t size = luaL_checkinteger(L, 2);
- BLOB *blob = (BLOB*)lua_newuserdata(L, sizeof(BLOB*));
+ BLOB *blob = (BLOB*)lua_newuserdata(L, sizeof(BLOB));
blob->cbSize = size;
blob->pBlobData = (BYTE*)mir_calloc(size);
memcpy(blob->pBlobData, data, size);