(int) cast, where size can be expected to be small enough
This commit is contained in:
parent
2d50db4b91
commit
f8b4c7eb79
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue