mirror of
https://github.com/simh/simh.git
synced 2026-04-15 16:11:13 +00:00
TMXR, SOCK: Properly declare as const string input only arguments.
This commit is contained in:
@@ -1218,7 +1218,7 @@ if (rbytes == SOCKET_ERROR) {
|
||||
return rbytes;
|
||||
}
|
||||
|
||||
int32 sim_write_sock (SOCKET sock, char *msg, int32 nbytes)
|
||||
int32 sim_write_sock (SOCKET sock, const char *msg, int32 nbytes)
|
||||
{
|
||||
int32 err, sbytes = send (sock, msg, nbytes, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user