Ignore:
Timestamp:
Apr 20, 2011, 11:39:47 PM (11 years ago)
Author:
Sam Hocevar
Message:

core: fix a few useless casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/palette.cpp

    r512 r519  
    385385      CONDITION(lev<8,"Levl > 7");
    386386      re_delete(who->children[x],lev+1);
    387       level[lev].unlink((linked_node *)who->children[x]);
     387      level[lev].unlink(who->children[x]);
    388388      delete who->children[x];
    389389    }
     
    408408        pruned=1;                   //  I have a brother! stop
    409409       p=(quant_node *)p->next();
    410       } while ((linked_node *) p!=level[lev-1].first() && !pruned);
     410      } while (p != level[lev-1].first() && !pruned);
    411411    }
    412412  }
     
    447447    printf("h");
    448448      (*p)=new quant_node(lev,fat);
    449       level[lev-1].add_end((linked_node *)(*p));
     449      level[lev-1].add_end(*p);
    450450    }
    451451
Note: See TracChangeset for help on using the changeset viewer.