diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
commit | 2896811274e430759305c7f25889cb0214213409 (patch) | |
tree | 30e2ec739ccffe6f19049153950e1d31f6604f66 /epan/expert.c | |
parent | 3288a39db202082ceb1120367d017792323fdecf (diff) | |
download | wireshark-2896811274e430759305c7f25889cb0214213409.tar.gz |
Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
Diffstat (limited to 'epan/expert.c')
-rw-r--r-- | epan/expert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/expert.c b/epan/expert.c index 037331bf38..984b52a392 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -121,7 +121,7 @@ packet_info *pinfo, proto_item *pi, int group, int severity, const char *format, /* XXX - use currently nonexistant se_vsnprintf instead */ ret = g_vsnprintf(formatted, sizeof(formatted), format, ap); - if ((ret == -1) || (ret >= sizeof(formatted))) + if ((ret == -1) || (ret >= (int)sizeof(formatted))) formatted[sizeof(formatted) - 1] = '\0'; ei = ep_alloc(sizeof(expert_info_t)); |