diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-07-18 15:43:11 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-08-02 13:36:09 +0000 |
commit | 26532c66ee78d1aefbd3d02d7d149699f1c0ed95 (patch) | |
tree | 5aa6625d5f9c6bcd349c1d91f71308a133992893 /src/qml/compiler/qv4bytecodegenerator_p.h | |
parent | 79f4a4135cb96f8ee55ed85e7a58d0a32f81ee04 (diff) |
Fix various signed/unsigned warnings
Change-Id: I9f4a5a8470c1abc6b07a28c71fdad0d208e1fea1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodegenerator_p.h')
-rw-r--r-- | src/qml/compiler/qv4bytecodegenerator_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4bytecodegenerator_p.h b/src/qml/compiler/qv4bytecodegenerator_p.h index bb11e33908..a2c4c20716 100644 --- a/src/qml/compiler/qv4bytecodegenerator_p.h +++ b/src/qml/compiler/qv4bytecodegenerator_p.h @@ -197,8 +197,8 @@ public: return currentExceptionHandler; } - unsigned newTemp(); - unsigned newTempArray(int n); + int newTemp(); + int newTempArray(int n); QByteArray finalize(); @@ -237,9 +237,9 @@ private: QVector<int> labels; QVector<JumpData> jumps; ExceptionHandler *currentExceptionHandler; - unsigned tempCount = 0; + int tempCount = 0; public: - unsigned currentTemp = 0; + int currentTemp = 0; private: int currentLine = -1; }; |