diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-03 11:22:57 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-03 14:55:03 +0200 |
commit | 0ad363e4ebef07a41ea2d2c8fb592e3e199ae5f6 (patch) | |
tree | de56be309b34d78c4ff845ad780af86753e797dd /src/qml/jsruntime/qv4profiling_p.h | |
parent | 7238de11c5028e6f9aeaed74295049b1e172294c (diff) |
Profiler: Fix MSVC warning about signed integers.
src\qml\jsruntime\qv4profiling_p.h(144) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Introduced by ac56e7cda724aa7463ef6ffe5f0e93bd3208cb51 .
Change-Id: Ib77234d663bfafd9d55ae2dd551b0aabd6561d6d
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4profiling_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4profiling_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4profiling_p.h b/src/qml/jsruntime/qv4profiling_p.h index 525e23f0de..b9ddac0309 100644 --- a/src/qml/jsruntime/qv4profiling_p.h +++ b/src/qml/jsruntime/qv4profiling_p.h @@ -141,7 +141,7 @@ public: void *trackDealloc(void *pointer, size_t size, MemoryType type) { - MemoryAllocationProperties allocation = {m_timer.nsecsElapsed(), (qint64)-size, type}; + MemoryAllocationProperties allocation = {m_timer.nsecsElapsed(), -(qint64)size, type}; m_memory_data.append(allocation); return pointer; } |