(int) cast, where size can be expected to be small enough

This commit is contained in:
rlar 2011-07-24 20:18:00 +00:00
parent 2d50db4b91
commit f8b4c7eb79
2 changed files with 5 additions and 1 deletions

View File

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

View File

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