1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-05 23:56:58 +03:00

Fix stupid bug with sizeof

This commit is contained in:
Teodor Sigaev 2005-12-06 18:22:27 +00:00
parent 386f0e50ef
commit 3482b4597e

View File

@ -82,7 +82,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);