swallow type conversion warnings
This commit is contained in:
parent
5ea63abb47
commit
eb06eeb4d9
|
|
@ -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
|
2010-11-23 Robert Larice
|
||||||
* src/xspice/ipc/ipcaegis.c :
|
* src/xspice/ipc/ipcaegis.c :
|
||||||
fix an ancient bug (typo `!=' versus `=!')
|
fix an ancient bug (typo `!=' versus `=!')
|
||||||
|
|
|
||||||
|
|
@ -1082,7 +1082,7 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name, bool c
|
||||||
char keep_char;
|
char keep_char;
|
||||||
int line_number = 1; /* sjb - renamed to avoid confusion with struct line */
|
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 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 *newfp;
|
||||||
FILE *fdo;
|
FILE *fdo;
|
||||||
struct line *tmp_ptr1 = NULL;
|
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;
|
dynLlen = 0;
|
||||||
for(tmp_ptr1 = cc; tmp_ptr1 != NULL; tmp_ptr1 = tmp_ptr1->li_next) {
|
for(tmp_ptr1 = cc; tmp_ptr1 != NULL; tmp_ptr1 = tmp_ptr1->li_next) {
|
||||||
char *s;
|
char *s;
|
||||||
int braces_per_line = 0;
|
unsigned int braces_per_line = 0;
|
||||||
/* count number of lines */
|
/* count number of lines */
|
||||||
dynmaxline++;
|
dynmaxline++;
|
||||||
/* renumber the lines of the processed input deck */
|
/* renumber the lines of the processed input deck */
|
||||||
|
|
|
||||||
|
|
@ -360,7 +360,7 @@ lingrid(GRAPH *graph, double lo, double hi, double delta, int type, Axis axis)
|
||||||
int i;
|
int i;
|
||||||
double step;
|
double step;
|
||||||
|
|
||||||
static struct { float div_lim, step; } div_list[ ] = {
|
static struct { double div_lim, step; } div_list[ ] = {
|
||||||
{ 100.0, 10.0 },
|
{ 100.0, 10.0 },
|
||||||
{ 50.0, 5.0 },
|
{ 50.0, 5.0 },
|
||||||
{ 20.0, 2.0 },
|
{ 20.0, 2.0 },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue