diff options
author | Bruce Momjian | 2014-01-29 18:31:11 +0000 |
---|---|---|
committer | Bruce Momjian | 2014-01-29 18:31:11 +0000 |
commit | 8440897b38be38903ecc2041002bba08e08308ad (patch) | |
tree | a79d6af8607a1370adaaf0b94167f49db0319a6e | |
parent | e93f7253a7999531b3768080fa4e58817ed8b112 (diff) |
Fix pointer processing in new entab.c function
-rw-r--r-- | src/tools/entab/entab.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)++) = ' '; } |