summaryrefslogtreecommitdiffstats
path: root/zix/chunk.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-31 15:15:05 +0100
committerDavid Robillard <d@drobilla.net>2020-12-31 15:21:29 +0100
commit741c3349b09c8774fcd013e3bdd7d9e7f6b470ce (patch)
treea941f6567b85255570e5492f3c66a842704ba9f7 /zix/chunk.c
parent841c766d86dc35ab37c4fef8ec866d06c41bc383 (diff)
downloadzix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.tar.gz
zix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.tar.bz2
zix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.zip
Format all code with clang-format
Diffstat (limited to 'zix/chunk.c')
-rw-r--r--zix/chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zix/chunk.c b/zix/chunk.c
index 1254d14..bf80f88 100644
--- a/zix/chunk.c
+++ b/zix/chunk.c
@@ -23,11 +23,11 @@
uint32_t
zix_chunk_hash(const ZixChunk* const chunk)
{
- return zix_digest_add(zix_digest_start(), chunk->buf, chunk->len);
+ return zix_digest_add(zix_digest_start(), chunk->buf, chunk->len);
}
bool
zix_chunk_equal(const ZixChunk* a, const ZixChunk* b)
{
- return a->len == b->len && !memcmp(a->buf, b->buf, a->len);
+ return a->len == b->len && !memcmp(a->buf, b->buf, a->len);
}