From e1be891b28d0123675ddcefe37587b0546f95936 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 May 1998 10:10:40 +0000 Subject: [PATCH] Minor change to avoid C++ warning. --- comstack/tcpip.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/comstack/tcpip.c b/comstack/tcpip.c index 3a99bd0..884e6ff 100644 --- a/comstack/tcpip.c +++ b/comstack/tcpip.c @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995-1997, Index Data + * Copyright (c) 1995-1998, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: tcpip.c,v $ - * Revision 1.19 1998-02-11 11:53:33 adam + * Revision 1.20 1998-05-18 10:10:40 adam + * Minor change to avoid C++ warning. + * + * Revision 1.19 1998/02/11 11:53:33 adam * Changed code so that it compiles as C++. * * Revision 1.18 1997/09/29 07:15:25 adam @@ -250,7 +253,7 @@ COMSTACK tcpip_type(int s, int blocking, int protocol) p->iofile = s; p->type = tcpip_type; - p->protocol = protocol; + p->protocol = (enum oid_proto) protocol; p->f_connect = tcpip_connect; p->f_rcvconnect = tcpip_rcvconnect; -- 1.7.10.4