Skip to content

Commit 0782b24

Browse files
committed
Adapt to Deno v1.44.0
1 parent 9f064b5 commit 0782b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2914,8 +2914,8 @@ export class CXCursor {
29142914
libclang.symbols.clang_getOverriddenCursors(this.#buffer, OUT, OUT_2);
29152915
const length = out32[0];
29162916
const cursors: CXCursor[] = [];
2917-
const overriddenCursorsPointerValue = Number(OUT_64[0]);
2918-
if (length === 0 || overriddenCursorsPointerValue === 0) {
2917+
const overriddenCursorsPointerValue = OUT_64[0];
2918+
if (length === 0 || overriddenCursorsPointerValue === 0n) {
29192919
return cursors;
29202920
}
29212921
const overriddenCursorsPointer = Deno.UnsafePointer.create(

0 commit comments

Comments
 (0)