Skip to content

Commit

Permalink
fix build warning and packaging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed May 19, 2024
1 parent f90a120 commit 6eb8f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ HHEADERS = ares__buf.h \
ares__htable_asvp.h \
ares__htable_strvp.h \
ares__htable_szvp.h \
ares__htable_vpvp.h \
ares__iface_ips.h \
ares__llist.h \
ares__slist.h \
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ares_event_configchg.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static ares_status_t config_change_check(ares__htable_strvp_t *filestat,
return ARES_ENOMEM;
}
}
if (fi->size != st.st_size || fi->mtime != st.st_mtime) {
if (fi->size != (size_t)st.st_size || fi->mtime != (time_t)st.st_mtime) {
changed = ARES_TRUE;
}
fi->size = (size_t)st.st_size;
Expand Down

0 comments on commit 6eb8f44

Please sign in to comment.