summaryrefslogtreecommitdiff
path: root/src/warnings.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-01-09 00:18:53 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-01-09 00:43:27 -0800
commitf0a87e4f7f5377498960429e96be5dff183c8326 (patch)
tree2661728f73f3c163e971d94cd123ef6e378264aa /src/warnings.hpp
parentf2fd4885c2a906414e0f36acf95d252e5a9d5805 (diff)
downloadtmwa-f0a87e4f7f5377498960429e96be5dff183c8326.tar.gz
tmwa-f0a87e4f7f5377498960429e96be5dff183c8326.tar.bz2
tmwa-f0a87e4f7f5377498960429e96be5dff183c8326.tar.xz
tmwa-f0a87e4f7f5377498960429e96be5dff183c8326.zip
Make incoming packets read-only
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r--src/warnings.hpp4
1 files changed, 2 insertions, 2 deletions
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