From a0420b520220a2b7b63d9199de36e168a6d59944 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 12 Mar 2016 18:43:46 +0000 Subject: MirLua: Fixed typo git-svn-id: http://svn.miranda-ng.org/main/trunk@16473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3