prevent int to unsigned compare

This commit is contained in:
dwarning 2009-12-18 16:59:54 +00:00
parent d6ba20299f
commit b995267b29
3 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ static int num_parameters[1000];
/* number of lines in input deck */
int dynmaxline; /* inpcom.c 1529 */
/* max. line length in input deck */
int dynLlen; /* inpcom.c 1526 */
unsigned int dynLlen; /* inpcom.c 1526 */
/* number of lines in deck after expansion */
int dynMaxckt = 0; /* subckt.c 307 */
/* number of parameter substitutions */

View File

@ -40,7 +40,7 @@ extern long dynsubst; /* spicenum.c:144 */
extern int dynmaxline; /* inpcom.c:1529 */
/* max. line length in input deck */
int dynLlen; /* inpcom.c:1531 */
unsigned int dynLlen; /* inpcom.c:1531 */
/* Uncomment this line to allow debug tracing */
/* #define TRACE_NUMPARAMS */

View File

@ -28,7 +28,7 @@ static Str (150, fmath); /* all math functions */
extern char *nupa_inst_name; /* see spicenum.c */
extern long dynsubst; /* see inpcom.c */
extern int dynLlen;
extern unsigned int dynLlen;
static double
ternary_fcn (int conditional, double if_value, double else_value)