Skip to content

Commit 12f73fb

Browse files
authored
Merge pull request #99 from guzba/master
int instead of int64
2 parents 9677032 + 2b0768a commit 12f73fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fidget/opengl/perf.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type
99

1010
PerfEntry* = object
1111
tag: string
12-
ticks: int64
12+
ticks: int
1313
kind: EntryKind
1414

1515
TimeSeries* = ref object
@@ -21,8 +21,8 @@ var
2121
perfEnabled* = true
2222
defaultBuffer: seq[PerfEntry]
2323

24-
proc getTicks*(): int64 =
25-
getMonoTime().ticks
24+
proc getTicks*(): int =
25+
getMonoTime().ticks.int
2626

2727
proc addEntry(tag: string, kind: EntryKind, buffer: var seq[PerfEntry]) =
2828
var entry = PerfEntry()

0 commit comments

Comments
 (0)