mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Added a type cast in ext2spice/ext2hier.c to avoid having the
compiler complain about a "const" variable passed to a routine not declaring "const".
This commit is contained in:
@@ -1183,7 +1183,7 @@ spcdevHierMergeVisit(
|
||||
|
||||
for (cfp = devMergeList; cfp != NULL; cfp = cfp->next)
|
||||
{
|
||||
if ((pmode = parallelDevs(fp, cfp)) != NOT_PARALLEL)
|
||||
if ((pmode = parallelDevs(fp, (devMerge *)cfp)) != NOT_PARALLEL)
|
||||
{
|
||||
/* To-do: add back source, drain attribute check */
|
||||
|
||||
@@ -1619,7 +1619,7 @@ devMergeHierVisit(
|
||||
|
||||
for (cfp = devMergeList; cfp != NULL; cfp = cfp->next)
|
||||
{
|
||||
if ((pmode = parallelDevs(fp, cfp)) != NOT_PARALLEL)
|
||||
if ((pmode = parallelDevs(fp, (devMerge *)cfp)) != NOT_PARALLEL)
|
||||
{
|
||||
cf = cfp->dev;
|
||||
cg = &cfp->dev->dev_terms[0];
|
||||
|
||||
Reference in New Issue
Block a user