Skip to content

Commit

Permalink
Librhash: Keep legacy field name to fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
rhash committed Oct 21, 2024
1 parent ac9a7ad commit 6cec246
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion librhash/rhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ struct rhash_context
/**
* The bitmask for hash functions being calculated.
*/
unsigned long long hash_mask;
union {
unsigned long long hash_mask;
unsigned long long hash_id; /* legacy name */
};
};

#ifndef LIBRHASH_RHASH_CTX_DEFINED
Expand Down

0 comments on commit 6cec246

Please sign in to comment.