diff options
author | P. J. McDermott <pj@pehjota.net> | 2023-02-24 14:31:28 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2023-02-24 15:05:32 (EST) |
commit | 9dad8510e6da3f1aeaf5e7df2d0bb41da1e1b97b (patch) | |
tree | 3ac4f8629b14f04f7e79ac30d245e6d066cd848f /src/scripting/bindings | |
parent | 94ac303bca2bb730b809006e2978d82dc4055c01 (diff) | |
download | overworld-rpg-9dad8510e6da3f1aeaf5e7df2d0bb41da1e1b97b.zip overworld-rpg-9dad8510e6da3f1aeaf5e7df2d0bb41da1e1b97b.tar.gz overworld-rpg-9dad8510e6da3f1aeaf5e7df2d0bb41da1e1b97b.tar.bz2 |
ffi: Fix missing args in warnings about args
Irony, eh?
Diffstat (limited to 'src/scripting/bindings')
-rw-r--r-- | src/scripting/bindings/viewport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripting/bindings/viewport.c b/src/scripting/bindings/viewport.c index 2f3c03d..8fcc041 100644 --- a/src/scripting/bindings/viewport.c +++ b/src/scripting/bindings/viewport.c @@ -24,13 +24,13 @@ static struct ffi_namespace *ns; static void -binding_set_size(void) +binding_set_size(struct ffi_function *fn) { Uint16 width; Uint16 height; - width = ffi_stack_get_int(); - height = ffi_stack_get_int(); + width = ffi_stack_get_int(fn); + height = ffi_stack_get_int(fn); init_viewport(width, height, 8); } |