Fix signedness mismatch error with Xcode
This commit is contained in:
parent
45948827df
commit
27b1776840
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void mouse_handler_base::mouse_press(const SDL_MouseButtonEvent& event, const bo
|
|||
|
||||
if (!dragging_started_ && touch_timestamp > 0) {
|
||||
time_t dt = clock() - touch_timestamp;
|
||||
if (dt > CLOCKS_PER_SEC * 3 / 10) {
|
||||
if (dt >= 0 && clock_t(dt) > CLOCKS_PER_SEC * 3 / 10) {
|
||||
right_click(event.x, event.y, browse); // show_menu_ = true;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue