H316: Fix compiler warning
This commit is contained in:
parent
9bd573d967
commit
0e7311704d
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ t_stat udp_create (DEVICE *dptr, char *premote, int32 *pln)
|
||||||
if ((ret = udp_parse_remote(link, premote)) != SCPE_OK) return ret;
|
if ((ret = udp_parse_remote(link, premote)) != SCPE_OK) return ret;
|
||||||
|
|
||||||
// Create the socket connection to the destination ...
|
// Create the socket connection to the destination ...
|
||||||
sprintf(linkinfo, "Buffer=%d,Line=%d,%s,UDP,Connect=%s", sizeof(UDP_PACKET)+sizeof(int32), link, udp_links[link].lport, udp_links[link].rhostport);
|
sprintf(linkinfo, "Buffer=%d,Line=%d,%s,UDP,Connect=%s", (int)(sizeof(UDP_PACKET)+sizeof(int32)), link, udp_links[link].lport, udp_links[link].rhostport);
|
||||||
ret = tmxr_open_master (&udp_tmxr, linkinfo);
|
ret = tmxr_open_master (&udp_tmxr, linkinfo);
|
||||||
if (ret != SCPE_OK) return ret;
|
if (ret != SCPE_OK) return ret;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue