Skip to content

Commit

Permalink
Merge pull request #74 from larsewi/solaris
Browse files Browse the repository at this point in the history
Fixed some compiler warnings on Solaris 11
  • Loading branch information
larsewi authored May 6, 2024
2 parents 10363b8 + cc8b0d4 commit ca0a0ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([leech], [0.1.17], [https://github.com/larsewi/leech/issues], [leech],
AC_INIT([leech], [0.1.18], [https://github.com/larsewi/leech/issues], [leech],
[https://github.com/larsewi/leech])
AC_CONFIG_SRCDIR([lib/leech.h])

Expand Down
2 changes: 1 addition & 1 deletion lib/leech.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static bool Purge(const LCH_Instance *const instance) {

bool is_block_id = true;
for (const char *ch = filename; *ch != '\0'; ch++) {
if (isxdigit(*ch) == 0) {
if (isxdigit((int)(*ch)) == 0) {
is_block_id = false;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/string_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bool LCH_StringParseNumber(const char *str, long *number);
bool LCH_StringParseVersion(const char *str, size_t *major, size_t *minor,
size_t *patch);

#endif // _LEECH_STRING_LIB_H
#endif // _LEECH_STRING_LIB_H

0 comments on commit ca0a0ab

Please sign in to comment.