#1/4 drop cast (enable compiler type check)
This commit is contained in:
parent
891e4fdef1
commit
50aea0be0c
|
|
@ -1,3 +1,7 @@
|
|||
2012-02-07 Robert Larice
|
||||
* src/include/ngspice/complex.h :
|
||||
#1/4 drop cast (enable compiler type check)
|
||||
|
||||
2012-02-07 Holger Vogt / Robert Larice
|
||||
* src/tclspice.c :
|
||||
fix varags usage, tcl_printf(), tcl_fprintf(), tcl_vfprintf()
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ struct ngcomplex {
|
|||
|
||||
typedef struct ngcomplex ngcomplex_t;
|
||||
|
||||
#define realpart(cval) ((struct ngcomplex *) (cval))->cx_real
|
||||
#define imagpart(cval) ((struct ngcomplex *) (cval))->cx_imag
|
||||
#define realpart(cval) (cval)->cx_real
|
||||
#define imagpart(cval) (cval)->cx_imag
|
||||
|
||||
#ifdef CIDER
|
||||
/* From Cider numcomplex.h
|
||||
|
|
|
|||
Loading…
Reference in New Issue