diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-06-15 18:40:05 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-06-15 18:40:05 +0000 |
commit | 27db9ecd0b15abca733a99dab3bf9771ad70507d (patch) | |
tree | 047acdb5eca8e9b5c904c7285f9fdc81b4e527c2 /src/backend/tioga/Varray.h | |
parent | 3af536a15b64b9cfd8464af2032ccf5e66e79439 (diff) |
Fix macros that were not properly surrounded by parens or braces.
Diffstat (limited to 'src/backend/tioga/Varray.h')
-rw-r--r-- | src/backend/tioga/Varray.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/tioga/Varray.h b/src/backend/tioga/Varray.h index 496b04520ab..3b229ce462b 100644 --- a/src/backend/tioga/Varray.h +++ b/src/backend/tioga/Varray.h @@ -23,9 +23,11 @@ typedef void (*CopyingFunct) (void *from, void *to); #define VARRAY_INITIAL_SIZE 32 #define ENLARGE_VARRAY(ARRAY, INC) \ - (ARRAY)->maxObj += (INC); \ +( \ + (ARRAY)->maxObj += (INC), \ (ARRAY)->val = (void *) realloc((ARRAY)->val, \ - (ARRAY)->size * (ARRAY)->maxObj) + (ARRAY)->size * (ARRAY)->maxObj) \ +) #define VARRAY_NTH(VAL, SIZE, N) (((char *) (VAL)) + (SIZE) * (N)) |