Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Modules/expat/siphash.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static struct siphash *sip24_update(struct siphash *H, const void *src, size_t l


static uint64_t sip24_final(struct siphash *H) {
char left = H->p - H->buf;
char left = (char)(H->p - H->buf);
uint64_t b = (H->c + left) << 56;

switch (left) {
Expand Down Expand Up @@ -313,7 +313,7 @@ static int sip24_valid(void) {
sip_tokey(&k, "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017");

for (i = 0; i < sizeof in; ++i) {
in[i] = i;
in[i] = (unsigned char)i;

if (siphash24(in, i, &k) != SIP_U8TO64_LE(vectors[i]))
return 0;
Expand Down