Skip to content

Commit c8cf681

Browse files
committed
sync upstream with the latest release (instead of master)
1 parent 3a7d4c3 commit c8cf681

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

ext/hash/blake3/sync_upstream_blake.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

ext/hash/blake3/upstream_blake3/c/blake3.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include <assert.h>
22
#include <stdbool.h>
33
#include <string.h>
4-
#include <stdint.h>
54

65
#include "blake3.h"
76
#include "blake3_impl.h"
@@ -304,8 +303,8 @@ size_t blake3_compress_subtree_wide(const uint8_t *input, size_t input_len,
304303
uint8_t *right_cvs = &cv_array[degree * BLAKE3_OUT_LEN];
305304

306305
// Recurse!
307-
size_t left_n = SIZE_MAX;
308-
size_t right_n = SIZE_MAX;
306+
size_t left_n = -1;
307+
size_t right_n = -1;
309308

310309
#if defined(BLAKE3_USE_TBB)
311310
blake3_compress_subtree_wide_join_tbb(

0 commit comments

Comments
 (0)