Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Noticed that there is some misindentation (also fix it).
  • Loading branch information
vt-alt authored and beldmit committed Dec 1, 2021
1 parent 5a399b8 commit d74c05b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# https://editorconfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
tab_width = 8

[*.[ch]]
indent_size = 4
indent_style = space

[{CMakeLists.txt,*.cmake}]
indent_size = 2
indent_style = space

[COMMIT_EDITMSG]
indent_size = 2
indent_style = space
max_line_length = 80
2 changes: 1 addition & 1 deletion gosthash2012.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static INLINE void add512(union uint512_u * RESTRICT x,

# ifdef HAVE_ADDCARRY_U64
for (i = 0; i < 8; i++)
CF = _addcarry_u64(CF, x->QWORD[i] , y->QWORD[i], &(x->QWORD[i]));
CF = _addcarry_u64(CF, x->QWORD[i] , y->QWORD[i], &(x->QWORD[i]));
# else
for (i = 0; i < 8; i++) {
const unsigned long long left = x->QWORD[i];
Expand Down

0 comments on commit d74c05b

Please sign in to comment.