Skip to content

Commit

Permalink
Minor change to remove warning in USER_PASS
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Jul 9, 2024
1 parent 61a13da commit a589b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goxel.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
* int x, y;
* f(USER_PASS(&x, &y));
*/
#define USER_PASS(...) ((const void*[]){__VA_ARGS__})
#define USER_PASS(...) ((void *)(const void *[]){__VA_ARGS__})

/*
* Macro: USER_GET
Expand Down

0 comments on commit a589b41

Please sign in to comment.