swallow type conversion warnings

This commit is contained in:
rlar 2010-11-23 19:26:00 +00:00
parent 5ea63abb47
commit eb06eeb4d9
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-11-23 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/plotting/grid.c :
swallow type conversion warnings
2010-11-23 Robert Larice
* src/xspice/ipc/ipcaegis.c :
fix an ancient bug (typo `!=' versus `=!')

View File

@ -1082,7 +1082,7 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name, bool c
char keep_char;
int line_number = 1; /* sjb - renamed to avoid confusion with struct line */
int line_number_orig = 1, line_number_lib = 1, line_number_inc = 1;
int no_braces = 0; /* number of '{' */
unsigned int no_braces = 0; /* number of '{' */
FILE *newfp;
FILE *fdo;
struct line *tmp_ptr1 = NULL;
@ -1658,7 +1658,7 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name, bool c
dynLlen = 0;
for(tmp_ptr1 = cc; tmp_ptr1 != NULL; tmp_ptr1 = tmp_ptr1->li_next) {
char *s;
int braces_per_line = 0;
unsigned int braces_per_line = 0;
/* count number of lines */
dynmaxline++;
/* renumber the lines of the processed input deck */

View File

@ -360,7 +360,7 @@ lingrid(GRAPH *graph, double lo, double hi, double delta, int type, Axis axis)
int i;
double step;
static struct { float div_lim, step; } div_list[ ] = {
static struct { double div_lim, step; } div_list[ ] = {
{ 100.0, 10.0 },
{ 50.0, 5.0 },
{ 20.0, 2.0 },