mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
fix complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13359 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
52423fa8c3
commit
aa13dec8f5
1 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ class Stateful {
|
|||
virtual void suspend_property_changes ();
|
||||
virtual void resume_property_changes ();
|
||||
|
||||
bool property_changes_suspended() const { return g_atomic_int_get (&_stateful_frozen) > 0; }
|
||||
bool property_changes_suspended() const { return g_atomic_int_get (const_cast<gint*>(&_stateful_frozen)) > 0; }
|
||||
|
||||
protected:
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ class Stateful {
|
|||
|
||||
private:
|
||||
PBD::ID _id;
|
||||
int32_t _stateful_frozen;
|
||||
gint _stateful_frozen;
|
||||
};
|
||||
|
||||
} // namespace PBD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue