diff options
| author | Teodor Sigaev | 2005-12-06 18:22:13 +0000 |
|---|---|---|
| committer | Teodor Sigaev | 2005-12-06 18:22:13 +0000 |
| commit | 9e4caa5abe8bde5612edb414c3418a691da8634f (patch) | |
| tree | 5af61505e3c91c40bd5f0d777c392555c3941ddc /contrib | |
| parent | a025aa179c4ca15915ea2c523894faa31b2ca2f9 (diff) | |
Fix stupid bug with sizeof
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/ltree/_ltree_gist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree/_ltree_gist.c b/contrib/ltree/_ltree_gist.c index 412fafa1ff8..d0643ac747a 100644 --- a/contrib/ltree/_ltree_gist.c +++ b/contrib/ltree/_ltree_gist.c @@ -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); |
