Skip to content

Commit

Permalink
[build] fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
tstack committed May 25, 2018
1 parent 5689984 commit b94571c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/intern_string.hh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct string_fragment {
bool operator==(const char *str) const {
size_t len = strlen(str);

return len == this->length() &&
return len == (size_t) this->length() &&
strncmp(this->data(), str, this->length()) == 0;
};

Expand Down
2 changes: 1 addition & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ test_reltime_LDADD = ../src/libdiag.a
test_ncurses_unicode_SOURCES = test_ncurses_unicode.cc

lnav_doctests_SOURCES = lnav_doctests.cc
lnav_doctests_LDADD = ../src/libdiag.a $(CONFIG_OBJS)
lnav_doctests_LDADD = ../src/libdiag.a $(CONFIG_OBJS) $(CURSES_LIB)

drive_line_buffer_SOURCES = drive_line_buffer.cc
drive_line_buffer_LDADD = ../src/libdiag.a $(CURSES_LIB) -lz $(CURSES_LIB)
Expand Down

0 comments on commit b94571c

Please sign in to comment.