Changeset 219608 in webkit
- Timestamp:
- Jul 18, 2017 4:21:53 AM (7 years ago)
- Location:
- trunk/Source/WebDriver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebDriver/ChangeLog
r219605 r219608 1 2017-07-18 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK] Fix build with Clang after r219605. 4 https://bugs.webkit.org/show_bug.cgi?id=166682 5 6 Unreviewed build fix. 7 8 Clang-3.8 complains with the following error: 9 non-constant-expression cannot be narrowed from type 'gboolean' (aka 'int') to 'bool' in initializer list [-Wc++11-narrowing] 10 11 * glib/SessionHostGlib.cpp: insert an explicit cast to silence this issue. 12 1 13 2017-07-13 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebDriver/glib/SessionHostGlib.cpp
r219605 r219608 78 78 while (g_variant_iter_loop(iter.get(), "(t&s&s&sb)", &targetID, &type, &name, &dummy, &isPaired)) { 79 79 if (!g_strcmp0(type, "Automation")) 80 targetList.uncheckedAppend({ targetID, name, isPaired});80 targetList.uncheckedAppend({ targetID, name, static_cast<bool>(isPaired) }); 81 81 } 82 82 sessionHost->setTargetList(connectionID, WTFMove(targetList));
Note: See TracChangeset
for help on using the changeset viewer.