aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-30 16:15:23 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-30 16:15:23 +0000
commit44cbbf10399ebb4b7d42d6d20e9c5ad2fcd24f27 (patch)
tree64e23016c5492a5562a14e7a668ea47d8ed3c3ba
parent54861853a8a25f4126755690a8fdcd51a128753f (diff)
Stefan Rompf:
Fix warnings of type: proto.c:2219: warning: ISO C forbids conditional expr with only one void side svn path=/trunk/; revision=15156
-rw-r--r--epan/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 859c484f74..0ddb2e55cc 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -98,7 +98,7 @@ typedef struct _protocol protocol_t;
* @param expression expression to test in the assertion
*/
#define DISSECTOR_ASSERT(expression) \
- ((void) ((expression) ? 0 : \
+ ((void) ((expression) ? (void)0 : \
__DISSECTOR_ASSERT (expression, __FILE__, __LINE__)))
/** Same as DISSECTOR_ASSERT(), but will throw DissectorError exception