diff options
author | mor <empty> | 1993-08-20 10:06:26 +0000 |
---|---|---|
committer | mor <empty> | 1993-08-20 10:06:26 +0000 |
commit | 81bc291c15f90b681ed5835988e4974d46310974 (patch) | |
tree | 4169dad621fd06ac24368caaca467d60d4e57674 /xc/lib/XIE | |
parent | ac9504655f2f1c19ce5973758d7cfbe4c1e4d589 (diff) |
cast problem
Diffstat (limited to 'xc/lib/XIE')
-rw-r--r-- | xc/lib/XIE/conven.c | 10 | ||||
-rw-r--r-- | xc/lib/XIE/init.c | 5 |
2 files changed, 8 insertions, 7 deletions
diff --git a/xc/lib/XIE/conven.c b/xc/lib/XIE/conven.c index 8231de8c5..5a39e207f 100644 --- a/xc/lib/XIE/conven.c +++ b/xc/lib/XIE/conven.c @@ -1,4 +1,4 @@ -/* $XConsortium: conven.c,v 1.1 93/07/19 11:39:15 mor Exp $ */ +/* $XConsortium: conven.c,v 1.2 93/07/26 19:02:49 mor Exp $ */ /****************************************************************************** Copyright 1993 by the Massachusetts Institute of Technology @@ -1349,9 +1349,9 @@ unsigned int dc_size; param->ac_size = ac_size; param->dc_size = dc_size; - param->q_table = Xmalloc (q_size); - param->ac_table = Xmalloc (ac_size); - param->dc_table = Xmalloc (dc_size); + param->q_table = (char *) Xmalloc (q_size); + param->ac_table = (char *) Xmalloc (ac_size); + param->dc_table = (char *) Xmalloc (dc_size); bcopy (q_table, param->q_table, q_size); bcopy (ac_table, param->ac_table, ac_size); @@ -1381,7 +1381,7 @@ unsigned int table_size; param->predictor[2] = predictor[2]; param->table_size = table_size; - param->table = Xmalloc (table_size); + param->table = (char *) Xmalloc (table_size); bcopy (table, param->table, table_size); return (param); diff --git a/xc/lib/XIE/init.c b/xc/lib/XIE/init.c index 24561096d..5a44dc5ff 100644 --- a/xc/lib/XIE/init.c +++ b/xc/lib/XIE/init.c @@ -1,4 +1,4 @@ -/* $XConsortium: init.c,v 1.1 93/07/19 11:39:25 mor Exp $ */ +/* $XConsortium: init.c,v 1.2 93/07/26 19:00:01 mor Exp $ */ /****************************************************************************** Copyright 1993 by the Massachusetts Institute of Technology @@ -231,7 +231,8 @@ XieTechnique **techniques_ret; techRet[i].number = techRec->number; techRet[i].speed = techRec->speed; - techRet[i].name = Xmalloc ((unsigned) techRec->nameLength + 1); + techRet[i].name = (char *) Xmalloc ( + (unsigned) techRec->nameLength + 1); bcopy (pBuf, techRet[i].name, (unsigned) techRec->nameLength); techRet[i].name[techRec->nameLength] = '\0'; pBuf += PADDED_BYTES (techRec->nameLength); |