]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/touchscreengui.h
Android: Fix broken double-tap after 49 days uptime
[dragonfireclient.git] / src / gui / touchscreengui.h
index 1f9adda2204bdcb7b98b4cb17b8dd71a4194efd9..2a3f24a3f0ea4fedc8ed853db2a00f4f7e8e9248 100644 (file)
@@ -230,7 +230,7 @@ class TouchScreenGUI
 
        int m_move_id = -1;
        bool m_move_has_really_moved = false;
-       s64 m_move_downtime = 0;
+       u64 m_move_downtime = 0;
        bool m_move_sent_as_mouse_event = false;
        v2s32 m_move_downlocation = v2s32(-10000, -10000);
 
@@ -296,7 +296,7 @@ class TouchScreenGUI
        // doubleclick detection variables
        struct key_event
        {
-               unsigned int down_time;
+               u64 down_time;
                s32 x;
                s32 y;
        };