Skip to content

Commit

Permalink
util/thash: make use_cnt u32 to keep fixed size
Browse files Browse the repository at this point in the history
  • Loading branch information
inashivb committed Jun 11, 2024
1 parent b08b661 commit 79bdd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util-thash.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ typedef struct THashData_ {
SCMutex m;

/** use cnt, reference counter */
SC_ATOMIC_DECLARE(unsigned int, use_cnt);
SC_ATOMIC_DECLARE(uint32_t, use_cnt);

void *data;

Expand Down

0 comments on commit 79bdd0a

Please sign in to comment.