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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy