Skip to content

Commit ae765e6

Browse files
authored
[X11] Don't convert the current time from long to int (#12941)
1 parent 4074406 commit ae765e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Avalonia.X11/X11PlatformThreading.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void UpdateTimer(long? dueTimeInMs)
235235
}
236236

237237

238-
public long Now => (int)_clock.ElapsedMilliseconds;
238+
public long Now => _clock.ElapsedMilliseconds;
239239
public bool CanQueryPendingInput => true;
240240

241241
public bool HasPendingInput => _platform.EventGrouperDispatchQueue.HasJobs || XPending(_display) != 0;

0 commit comments

Comments
 (0)