quiet some warnings

This commit is contained in:
Michael Davidsaver
2019-11-12 18:15:32 -08:00
parent 7acd7c6145
commit 905ca4b7ac
5 changed files with 6 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ void cas_send_bs_msg ( struct client *pclient, int lock_needed )
if ( pclient->disconnect ) {
if ( CASDEBUG > 2 ) {
errlogPrintf ( "CAS: msg Discard for sock %d addr %x\n",
pclient->sock, (unsigned) pclient->addr.sin_addr.s_addr );
(int)pclient->sock, (unsigned) pclient->addr.sin_addr.s_addr );
}
pclient->send.stk = 0u;
if(lock_needed)

View File

@@ -335,7 +335,7 @@ void rsrv_build_addr_lists(void)
char sockErrBuf[64];
epicsSocketConvertErrnoToString (
sockErrBuf, sizeof ( sockErrBuf ) );
errlogPrintf("rsrv: failed to set mcast ttl %d\n", ttl);
errlogPrintf("rsrv: failed to set mcast ttl %d\n", (int)ttl);
}
}
#endif