Fix compilation of qserialport auto-test with Qt4
authorDenis Shienkov <denis.shienkov@gmail.com>
Sun, 18 May 2014 16:13:47 +0000 (16:13 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 May 2014 12:55:54 +0000 (14:55 +0200)
commitd39e916c6f397801ac329968515d90f0d1b9ef8f
tree6aa84cf8fd87160af46b13574a0dfe8135cc5c6f
parentd27ce6689855550ff89c5f84d38bded3c3da1dca
Fix compilation of qserialport auto-test with Qt4

In qt4 the macro QCOMPARE can not make type cast between "int" and
"qint64", though on qt5 there are no problems.

Tested build on Lixux 64bit with Qt4 and then Qt5.

Change-Id: I258f8ee4d26b65cc81720d66714ef69df23e7266
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
tests/auto/qserialport/tst_qserialport.cpp