Skip to content

Commit

Permalink
Remove another compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
torognes committed Mar 8, 2017
1 parent 2a9aeb7 commit 643342e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LIBS=-lpthread
LINKFLAGS=$(COMMON)

CXX=g++
WARNINGS=-Wall -Wsign-compare -Wextra -Wpedantic -Wno-c++11-long-long
WARNINGS=-Wall -Wsign-compare -Wextra -Wpedantic -Wno-long-long
CXXFLAGS=$(COMMON) $(WARNINGS) -O3 -msse2 -mtune=core2 -Icityhash

PROG=swarm
Expand All @@ -51,4 +51,4 @@ clean :
rm -rf swarm *.o *~ ../bin/ gmon.out cityhash/*.o ../man/*~ ../*~

ssse3.o : ssse3.cc $(DEPS)
$(CXX) -mssse3 $(CXXFLAGS) -c -o $@ $<
$(CXX) $(CXXFLAGS) -mssse3 -c -o $@ $<
2 changes: 1 addition & 1 deletion src/algod1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ void algo_d1_run()
}

fprintf(logfile,
"Bloom filter: bits=%ld, m=%ld, k=%ld, size=%.1lfMB\n",
"Bloom filter: bits=%ld, m=%ld, k=%ld, size=%.1fMB\n",
bits, m, k, 1.0 * m / (8*1024*1024));

bloomp = new BloomFilter(m, k);
Expand Down

0 comments on commit 643342e

Please sign in to comment.