tiny, fix two casts

This commit is contained in:
rlar 2010-07-11 16:02:23 +00:00
parent cc1cdbeeac
commit f7f4a7dd91
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-07-11 Robert Larice
* src/ngmultidec.c ,
* src/frontend/resource.c :
tiny, fix two casts
2010-07-11 Robert Larice
* src/xspice/icm/analog/oneshot/cfunc.mod ,
* src/xspice/icm/analog/pwl/cfunc.mod ,

View File

@ -315,7 +315,7 @@ printres(char *name)
getrlimit(RLIMIT_DATA, &rld);
limit = rld.rlim_cur - (enddata - startdata);
hi = sbrk(0);
hi = (char*) sbrk(0);
usage = (unsigned long int) (hi - enddata);
# else /* HAVE_GETRLIMIT */
# ifdef HAVE_ULIMIT

View File

@ -208,7 +208,7 @@ main (int argc, char **argv)
solution = (double *) tmalloc((unsigned) (sizeof(double)*(num+1)));
isolution = (double *) tmalloc((unsigned) (sizeof(double)*(num+1)));
othermatrix = spCreate(num,0,&errflg);
othermatrix = (char*) spCreate(num,0,&errflg);
for (i=1;i<=num;i++) {
for (j=1; j<=num; j++) {