aboutsummaryrefslogtreecommitdiff
path: root/parse-time-string/parse-time-string.c
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2015-02-23 18:56:15 +0200
committerDavid Bremner <david@tethera.net>2015-02-25 23:09:39 +0100
commit08757767de5c148cea8e7b97274789f851fbd854 (patch)
tree126fe667dfb896fd19c8016d8613922a6cc344fb /parse-time-string/parse-time-string.c
parent41b870fba5d09653dd9f22315cbca47e9a8c0d31 (diff)
lib: fix clang build warnings
Fix the following warning produced by clang 3.5.0: lib/message.cc:899:4: warning: comparison of constant 64 with expression of type 'notmuch_message_flag_t' (aka '_notmuch_message_flag') is always true [-Wtautological-constant-out-of-range-compare] ! NOTMUCH_TEST_BIT (message->lazy_flags, flag)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lib/notmuch-private.h:70:6: note: expanded from macro 'NOTMUCH_TEST_BIT' (_NOTMUCH_VALID_BIT(bit) ? !!((val) & (1ull << (bit))) : 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lib/notmuch-private.h:68:26: note: expanded from macro '_NOTMUCH_VALID_BIT' ((bit) >= 0 && (bit) < CHAR_BIT * sizeof (unsigned long long)) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'parse-time-string/parse-time-string.c')
0 files changed, 0 insertions, 0 deletions