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

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2017, 11:16 a.m.
Message ID <b4ab477f5190c34a812bd5d742a86cf2@localhost.localdomain>
Download mbox | patch
Permalink /patch/24773/
State Accepted
Headers show

Comments

phabricator - Oct. 12, 2017, 11:16 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG72b24ac81d5d: bdiff: fix misplaced comma in macro definition with clang-format (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1005?vs=2586&id=2617

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

AFFECTED FILES
  mercurial/bdiff.c

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit, ryanmce
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;