Browse Source

Remove compiler warnings (writ_ifs.c ipcsockets.c).

pre-master-46
Brian Taylor 4 years ago
committed by Holger Vogt
parent
commit
08bc3ccdd6
  1. 2
      src/xspice/cmpp/writ_ifs.c
  2. 2
      src/xspice/ipc/ipcsockets.c

2
src/xspice/cmpp/writ_ifs.c

@ -105,7 +105,7 @@ int write_ifs_c_file(
/* Open the ifspec.c file for write access */
if ((filename = gen_filename(filename_in, "w")) == (char *) NULL) {
print_error("ERROR - Unable to build path to \"%s\".", filename);
print_error("ERROR - Unable to build path to \"%s\".", filename_in);
xrc = -1;
goto EXITPOINT;
}

2
src/xspice/ipc/ipcsockets.c

@ -166,7 +166,7 @@ ipc_transport_initialize_server (
/* with version 1 (mailboxes) functions of the same names. */
{
struct sockaddr_in server; /* Server specifications for socket*/
int server_length; /* Size of server structure */
socklen_t server_length; /* Size of server structure */
int port_num; /* Port number converted from server_name */
NG_IGNORE(mode);

Loading…
Cancel
Save