Skip to content

Commit

Permalink
CHANGE cuint by SomeInteger
Browse files Browse the repository at this point in the history
  • Loading branch information
ninovanhooff committed Oct 24, 2024
1 parent 5c20364 commit 5600a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playdate/scoreboards.nim
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ proc invokeAddScoreCallback(score: PDScorePtr, errorMessage: ConstChar) {.cdecl,
emptyValue = emptyPDScore
)

proc seqBuilder[T, U](rawField: ptr UncheckedArray[T], length: cuint, itemBuilder: proc (item: T): U {.raises: [].}): seq[U] =
proc seqBuilder[T, U](rawField: ptr UncheckedArray[T], length: SomeInteger, itemBuilder: proc (item: T): U {.raises: [].}): seq[U] =
privateAccess(SDKArray)
let cArray = SDKArray[T](data: rawField, len: length.int)
var newSeq = newSeq[U](length)
Expand Down

0 comments on commit 5600a4e

Please sign in to comment.