Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Oct 4, 2023
1 parent 4ffb9c9 commit 399b631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ int main(int argc, char *argv[])
JSValue event_obj = JS_NewObject(ctx);
JS_SetPropertyStr(ctx, event_obj, "type", JS_NewString(ctx, "frame"));
JS_SetPropertyStr(ctx, event_obj, "detail", JS_NewUint32(ctx, kDown));
JSValue args[] = {event_obj};
JSValueConst args[] = {event_obj};
JSValue ret_val = JS_Call(ctx, switch_dispatch_func, switch_obj, 1, args);
JS_FreeValue(ctx, event_obj);

Expand Down

0 comments on commit 399b631

Please sign in to comment.