Skip to content

Commit

Permalink
Fix size warnings in tbbt.c (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored Oct 7, 2024
1 parent 053298d commit d7915df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdf/src/tbbt.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ typedef struct tbbt_tree_private {
static TBBT_NODE *tbbt_free_list = NULL;

#define KEYcmp(k1, k2, a) \
((NULL != compar) ? (*compar)(k1, k2, a) : memcmp(k1, k2, 0 < (a) ? (a) : (int)strlen(k1)))
((NULL != compar) ? (*compar)(k1, k2, a) : memcmp(k1, k2, 0 < (a) ? (size_t)(a) : strlen(k1)))

void tbbt1dump(TBBT_NODE *node, int method);

Expand Down

0 comments on commit d7915df

Please sign in to comment.