Skip to content
Snippets Groups Projects
Commit 73f47aa0 authored by Teodor Sigaev's avatar Teodor Sigaev
Browse files

Fix stupid bug with sizeof

parent a615acf5
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ _ltree_compress(PG_FUNCTION_ARGS)
key->len = len;
key->flag = 0;
MemSet(LTG_SIGN(key), 0, sizeof(ASIGLEN));
MemSet(LTG_SIGN(key), 0, ASIGLEN);
while (num > 0)
{
hashing(LTG_SIGN(key), item);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment