Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 73f47aa

Browse files
committed
Fix stupid bug with sizeof
1 parent a615acf commit 73f47aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/ltree/_ltree_gist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ _ltree_compress(PG_FUNCTION_ARGS)
8585
key->len = len;
8686
key->flag = 0;
8787

88-
MemSet(LTG_SIGN(key), 0, sizeof(ASIGLEN));
88+
MemSet(LTG_SIGN(key), 0, ASIGLEN);
8989
while (num > 0)
9090
{
9191
hashing(LTG_SIGN(key), item);

0 commit comments

Comments
 (0)