Patchwork D1005: bdiff: fix misplaced comma in macro definition with clang-format

login
register
mail settings
Submitter phabricator
Date Oct. 11, 2017, 3 p.m.
Message ID <differential-rev-PHID-DREV-eu3qwhhkleilx5ezpydg-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/24742/
State Accepted
Headers show

Comments

phabricator - Oct. 11, 2017, 3 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1005

AFFECTED FILES
  mercurial/bdiff.c

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -19,7 +19,7 @@ 
 
 /* Hash implementation from diffutils */
 #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n)))
-#define HASH(h, c) ((c) + ROL(h ,7))
+#define HASH(h, c) ((c) + ROL(h, 7))
 
 struct pos {
 	int pos, len;