Changeset 67d2c6164d2190cd00c8a740a049737852e79ba7

Show
Ignore:
Timestamp:
01/06/07 23:49:18 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
296b5a23bbf9b07a67acba878b659ab0bf800ef4
Children:
938fda69b191f4bb6f9744fad17371e01dd772a9
git-committer:
Philipp Kern <phil@0x539.de> / 2007-01-06T22:49:18Z+0000
Message:

[project @ Compile fix by const_casting for g_atomic_int_get]

Original author: Philipp Kern <phil@…>
Date: 2005-10-05 12:08:22+00:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/atomic.cpp

    rf4fe94f r67d2c61  
    4242Gobby::Atomic::operator bool() const 
    4343{ 
    44         return g_atomic_int_get(&m_val) != 0; 
     44        return g_atomic_int_get(const_cast<gint*>(&m_val) ) != 0; 
    4545}