From 99576b1786bc535bd5648831ad131c6ced75307e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 12 Feb 2000 11:22:26 +0000 Subject: Squelch a complaint from Visual C++ 6.0 (the code was OK beforehand, at least as I remember the ANSI C standard, but I guess they're warning you that you might've intended to return the return value of a function but forgot to put a parameter list after the function name). svn path=/trunk/; revision=1626 --- packet-llc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-llc.c') diff --git a/packet-llc.c b/packet-llc.c index 351d5f8a12..19b96e28bd 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez * - * $Id: packet-llc.c,v 1.47 2000/02/05 09:34:33 guy Exp $ + * $Id: packet-llc.c,v 1.48 2000/02/12 11:22:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -215,7 +215,7 @@ sap_dissect_func(u_char sap) { } i++; } - return dissect_data; + return &dissect_data; } void -- cgit v1.2.3