From f0a87e4f7f5377498960429e96be5dff183c8326 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 9 Jan 2013 00:18:53 -0800 Subject: Make incoming packets read-only --- src/warnings.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/warnings.hpp') diff --git a/src/warnings.hpp b/src/warnings.hpp index f280014..4248155 100644 --- a/src/warnings.hpp +++ b/src/warnings.hpp @@ -198,7 +198,7 @@ E(-Wc++0x-compat) X(-Wcast-align) /// Warn about casts which discard qualifiers -W(-Wcast-qual) +E(-Wcast-qual) /// Warn about subscripts whose type is "char" E(-Wchar-subscripts) @@ -599,7 +599,7 @@ E(-Wunused-value) E(-Wunused-variable) /// Warn about useless casts -XG48(-Wuseless-cast) +EG48(-Wuseless-cast) /// Warn about questionable usage of the macros used /// to retrieve variable arguments -- cgit v1.2.3-60-g2f50