Commit 1e8610d9 authored by claes's avatar claes

msg_size and msg_id change from signed to unsigned

parent cf48a37c
/* /*
* Proview $Id: rs_remote_udpip.c,v 1.3 2006-04-24 13:22:24 claes Exp $ * Proview $Id: rs_remote_udpip.c,v 1.4 2006-09-05 11:16:54 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -75,8 +75,8 @@ fd_set fds; /* For select call */ ...@@ -75,8 +75,8 @@ fd_set fds; /* For select call */
typedef struct typedef struct
{ {
unsigned char protocol_id[2]; unsigned char protocol_id[2];
short int msg_size; unsigned short int msg_size;
short int msg_id[2]; unsigned short int msg_id[2];
} remote_udp_header; } remote_udp_header;
remnode_item rn; remnode_item rn;
...@@ -117,7 +117,7 @@ void RemoteSleep(float time) ...@@ -117,7 +117,7 @@ void RemoteSleep(float time)
************************************************************************** **************************************************************************
**************************************************************************/ **************************************************************************/
void SendAck(short int id0, short int id1) void SendAck(unsigned short int id0, unsigned short int id1)
{ {
int status; int status;
......
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