From: Bruce Momjian Date: Wed, 29 Jan 2014 18:31:11 +0000 (-0500) Subject: Fix pointer processing in new entab.c function X-Git-Tag: REL9_4_BETA1~589 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8440897b38be38903ecc2041002bba08e08308ad;p=postgresql Fix pointer processing in new entab.c function --- diff --git a/src/tools/entab/entab.c b/src/tools/entab/entab.c index 726c855a9a..3b849f2a72 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)++) = ' '; }