From cdbb13b070ae83edccfcb4773fafc6ef9608e71b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 12 Sep 2000 08:38:44 +0000 Subject: [PATCH] NULL may be defined as something such as "(void *)0", rather than just as 0, so don't use it in a ":" operator where the other arm of the conditional is integral. svn path=/trunk/; revision=2422 --- packet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packet.c b/packet.c index 7ecb5155a9..b9f2fb8289 100644 --- a/packet.c +++ b/packet.c @@ -1,7 +1,7 @@ /* packet.c * Routines for packet disassembly * - * $Id: packet.c,v 1.106 2000/09/12 07:04:30 sharpe Exp $ + * $Id: packet.c,v 1.107 2000/09/12 08:38:44 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -539,11 +539,11 @@ col_get_writable(frame_data *fd) { if (fd) { - return (fd->cinfo ? fd->cinfo->writable : NULL); + return (fd->cinfo ? fd->cinfo->writable : FALSE); } - return NULL; + return FALSE; }