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/image.cpp

    r518 r519  
    116116    }
    117117
    118     image_list.unlink((linked_node *)this);
     118    image_list.unlink(this);
    119119    DeletePage();
    120120    delete m_special;
     
    155155        m_special = NULL;
    156156    MakePage(size, page_buffer);
    157     image_list.add_end((linked_node *)this);
     157    image_list.add_end(this);
    158158    m_locked = false;
    159159}
     
    168168    for (int i = 0; i < m_size.y; i++)
    169169        fp->read(scan_line(i), m_size.x);
    170     image_list.add_end((linked_node *) this);
     170    image_list.add_end(this);
    171171    m_locked = false;
    172172}
     
    180180    for (int i = 0; i < m_size.y; i++)
    181181        fp->read(scan_line(i), m_size.x);
    182     image_list.add_end((linked_node *) this);
     182    image_list.add_end(this);
    183183    m_locked = false;
    184184}
     
    209209  {
    210210    im=(image *)image_list.first();
    211     image_list.unlink((linked_node *)im);
     211    image_list.unlink(im);
    212212    delete im;
    213213  } */
Note: See TracChangeset for help on using the changeset viewer.