postgres.git / summary / log / commit / refs

commit    8440897b38be38903ecc2041002bba08e08308ad
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Wed Jan 29 18:31:11 2014 +0000
First released in: 9.4.0

    Fix pointer processing in new entab.c function


src/tools/entab/entab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/entab/entab.c b/src/tools/entab/entab.c index 726c855a9ae..3b849f2a72f 100644 --- a/src/tools/entab/entab.c +++ b/src/tools/entab/entab.c @@ -31,7 +31,7 @@ extern int optind; static void output_accumulated_spaces(int *prv_spaces, char **dst) { - for (; *prv_spaces > 0; *prv_spaces--) + for (; *prv_spaces > 0; (*prv_spaces)--) *((*dst)++) = ' '; } [parent: e93f7253a799]