diff --git a/ChangeLog b/ChangeLog index f89f93209..59e6285ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-07-24 Robert Larice + * src/xspice/ipc/ipcstdio.c : + (int) cast, where size can be expected to be small enough + 2011-07-24 Robert Larice * src/misc/util.c : use size_t diff --git a/src/xspice/ipc/ipcstdio.c b/src/xspice/ipc/ipcstdio.c index 6a67f31c2..1f387c008 100755 --- a/src/xspice/ipc/ipcstdio.c +++ b/src/xspice/ipc/ipcstdio.c @@ -46,7 +46,7 @@ Ipc_Status_t ipc_transport_get_line ( printf ("GET_LINE\n"); gets (str); - *len = strlen (str); + *len = (int) strlen (str); return IPC_STATUS_OK; }