Commit 705639c9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_parse_packet): Added cast to remove warning.

parent 9bf58dd5
/*
* $Id: prot-a.c,v 0.68 2002/03/29 22:29:44 ceder Exp $
* $Id: prot-a.c,v 0.69 2002/09/06 22:42:54 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -401,7 +401,7 @@ prot_a_parse_packet(Connection *client)
client->parse_pos = 1;
/* Fall through */
case 1: /* Get fnc_no */
client->function = (enum call_header)prot_a_parse_long(client);
client->function = (enum call_header)(int)prot_a_parse_long(client);
if ((client->function_index = prot_a_is_legal_fnc(client->function)) == -1 )
{
client->function = illegal_fnc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment