diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-27 02:14:56 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-27 02:14:56 +0000 |
commit | c2408435bc165abba58605750121829aa9a403d2 (patch) | |
tree | 00c229fc00e704d7d93adc207848d84a29e8c285 /epan/dissectors/packet-user_encap.c | |
parent | 8f0c262af1ca25ccd1c971fda4bf252010bdfd73 (diff) |
fix the remaining MSVC warnings by setting individual #pragma(warning:disable) settings - this is very certainly not the way to go, but the way to prevent additional warnings rushing in ...
svn path=/trunk/; revision=21221
Diffstat (limited to 'epan/dissectors/packet-user_encap.c')
-rw-r--r-- | epan/dissectors/packet-user_encap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-user_encap.c b/epan/dissectors/packet-user_encap.c index 097e81689a..12a01426ef 100644 --- a/epan/dissectors/packet-user_encap.c +++ b/epan/dissectors/packet-user_encap.c @@ -36,6 +36,11 @@ #include <epan/uat.h> #include <epan/emem.h> +#ifdef _WIN32 +/* disable: warning C4090: 'XY' : different 'const' qualifiers */ +#pragma warning(disable:4090) +#endif + typedef struct _user_encap_t { guint encap; dissector_handle_t payload_proto; |