1
0
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:
Mark Pizzolato
2014-12-06 03:50:45 -08:00
parent d1b5e3aa27
commit c083b45c14
4 changed files with 8 additions and 8 deletions

View File

@@ -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);