diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-03-07 14:42:59 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-05-13 20:30:26 +0000 |
commit | 30aa0a1cc9812bd2a9ead91e3f412808ebe7daff (patch) | |
tree | 3165986d36f4727bb8ec111b7db22eb45a067867 /src/quick/util/qquicktimeline.cpp | |
parent | 66be8fcc05f0e51f12c215af3d5ab74d729386ba (diff) |
QtQuick: Fix const correctness in old style casts
Found with GCC's -Wcast-qual.
Change-Id: Ia0aac2f09e9245339951ffff13c9589afabc7ade
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/quick/util/qquicktimeline.cpp')
-rw-r--r-- | src/quick/util/qquicktimeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/util/qquicktimeline.cpp b/src/quick/util/qquicktimeline.cpp index 8cd9b349d8..74754a0bfb 100644 --- a/src/quick/util/qquicktimeline.cpp +++ b/src/quick/util/qquicktimeline.cpp @@ -717,7 +717,7 @@ void QQuickTimeLine::updateCurrentTime(int v) void QQuickTimeLine::debugAnimation(QDebug d) const { - d << "QuickTimeLine(" << hex << (void *) this << dec << ")"; + d << "QuickTimeLine(" << hex << (const void *) this << dec << ")"; } bool operator<(const QPair<int, Update> &lhs, |