Debugger: Use int instead of bool in test code that can be C

Change-Id: I91fa6e97d4fbffef14a64c2203710923a13d7479
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2016-11-24 18:09:09 +01:00
parent 9dfa210011
commit 5a914b55fc
+1 -1
View File
@@ -1230,7 +1230,7 @@ void tst_Dumpers::dumper()
"\n\nint main(int argc, char *argv[])"
"\n{"
"\n unused(&argc, &argv);\n"
"\n int skipall = false; unused(&skipall);\n"
"\n int skipall = 0; unused(&skipall);\n"
"\n int qtversion = " + (data.useQt ? "QT_VERSION" : "0") + "; unused(&qtversion);"
"\n#ifdef __GNUC__"
"\n int gccversion = 10000 * __GNUC__ + 100 * __GNUC_MINOR__; unused(&gccversion);"