aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-28 11:52:14 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-28 11:52:14 +0100
commit9ff8e139cd631be9c9617fdb6e0a6107cd277069 (patch)
tree92976bc6b6a7101e42d99ffa0669e468fa86fa62 /contrib/epee/include
parentMerge pull request #2601 (diff)
downloadmonero-9ff8e139cd631be9c9617fdb6e0a6107cd277069.tar.xz
epee: disable a spurious warning for a storage function
Diffstat (limited to 'contrib/epee/include')
-rw-r--r--contrib/epee/include/storages/portable_storage_to_bin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/storages/portable_storage_to_bin.h b/contrib/epee/include/storages/portable_storage_to_bin.h
index 5695143b0..34ec02b7e 100644
--- a/contrib/epee/include/storages/portable_storage_to_bin.h
+++ b/contrib/epee/include/storages/portable_storage_to_bin.h
@@ -47,6 +47,7 @@ namespace epee
PRAGMA_WARNING_PUSH
PRAGMA_GCC("GCC diagnostic ignored \"-Wstrict-aliasing\"")
+ PRAGMA_GCC("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"")
template<class t_stream>
size_t pack_varint(t_stream& strm, size_t val)
{ //the first two bits always reserved for size information