Skip to content

Commit

Permalink
Fixing IEDriverServer x64 compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Nov 3, 2017
1 parent 6a19886 commit a544366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/iedriver/IECommandExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ void IECommandExecutor::DispatchCommand() {
this->is_waiting_ = browser->wait_required();
if (this->is_waiting_) {
if (this->page_load_timeout_ >= 0) {
this->wait_timeout_ = clock() + (this->page_load_timeout_ / 1000 * CLOCKS_PER_SEC);
this->wait_timeout_ = clock() + (static_cast<int>(this->page_load_timeout_) / 1000 * CLOCKS_PER_SEC);
}
::PostMessage(this->m_hWnd, WD_WAIT, NULL, NULL);
}
Expand Down

0 comments on commit a544366

Please sign in to comment.