Skip to content

Commit

Permalink
fix: unsigned int => pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
i1u5 committed Aug 22, 2022
1 parent 19cdf2b commit a096f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function setWallpaper(fileName: string) {

const u32 = Deno.dlopen("user32.dll", {
SystemParametersInfoW: {
parameters: ["u64", "u64", "pointer", "u64"],
parameters: ["u64", "u64", "pointer", "pointer"],
result: "pointer",
},
});
Expand Down

0 comments on commit a096f1c

Please sign in to comment.