Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#163)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/pre-commit/mirrors-clang-format: v16.0.6 → v17.0.2](pre-commit/mirrors-clang-format@v16.0.6...v17.0.2)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 17, 2023
1 parent 58c7f29 commit d6713b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v16.0.6
rev: v17.0.2
hooks:
- id: clang-format
- repo: https://github.com/psf/black
Expand Down
2 changes: 1 addition & 1 deletion src/sha1.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#define CONST4 0xca62c1d6L

/* truncate to 32 bits -- should be a null op on 32-bit machines */
#define T32(x) ((x)&0xffffffffL)
#define T32(x) ((x) & 0xffffffffL)

/* 32-bit rotate */
#define R32(x, n) T32(((x << n) | (x >> (32 - n))))
Expand Down
2 changes: 1 addition & 1 deletion src/srs2.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ __BEGIN_DECLS
#define SRS_ETIMESTAMPOUTOFDATE (SRS_ERRTYPE_SRS | 1)
#define SRS_EHASHINVALID (SRS_ERRTYPE_SRS | 2)

#define SRS_ERROR_TYPE(x) ((x)&SRS_ERRTYPE_MASK)
#define SRS_ERROR_TYPE(x) ((x) & SRS_ERRTYPE_MASK)

/* SRS implementation */

Expand Down

0 comments on commit d6713b0

Please sign in to comment.