silence compiler warnings

This commit is contained in:
rlar 2011-02-19 14:58:18 +00:00
parent 7ad47870ef
commit 407b220a1d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c :
silence compiler warnings
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/xpressn.c :

View File

@ -75,7 +75,7 @@ rs ( SPICE_DSTRINGPTR dstr_p)
spice_dstring_reinit(dstr_p) ;
do
{
c = fgetc (stdin);
c = (char) fgetc (stdin);
cadd (dstr_p, c);
}
while (!((c == '\r') || (c == '\n')));
@ -592,7 +592,7 @@ freadstr (FILE * f, SPICE_DSTRINGPTR dstr_p)
spice_dstring_reinit(dstr_p) ;
do
{
c = fgetc (f); /* tab is the only control char accepted */
c = (char) fgetc (f); /* tab is the only control char accepted */
if (((c >= ' ') || (c < 0) || (c == '\t')))
{
str_load[0] = c;