To | ng-spice-devel@ieee.ing.uniroma1.it |
From | mcmahill@mtl.mit.edu |
Date | Fri, 9 Feb 2001 15:09:07 -0500 (EST) |
Delivered-To | mailing list ng-spice-devel@ieee.ing.uniroma1.it |
Mailing-List | contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm |
Reply-To | ng-spice-devel@ieee.ing.uniroma1.it |
--- src/maths/sparse/spdefs.h.orig Wed Feb 7 09:34:39 2001 +++ src/maths/sparse/spdefs.h Wed Feb 7 15:58:55 2001 @@ -260,5 +260,5 @@ #ifndef HAVE_LIBGC #define CALLOC(ptr,type,number) \ -{ ptr = (type *) calloc(type, number); \ +{ ptr = (type *) calloc( number , sizeof(type) ); \ } #else /* HAVE_LIBCG */