Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hltj committed Nov 4, 2023
1 parent a800640 commit fcde207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xxhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -6897,7 +6897,7 @@ XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (XXH_NOESCAPE const XXH3_state_
}
}
/* len <= XXH3_MIDSIZE_MAX : short code */
if (state->seed)
if (state->useSeed)
return XXH3_128bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed);
return XXH3_128bits_withSecret(state->buffer, (size_t)(state->totalLen),
secret, state->secretLimit + XXH_STRIPE_LEN);
Expand Down

0 comments on commit fcde207

Please sign in to comment.