summary refs log tree commit diff
path: root/cards/example.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-19 20:51:03 -0500
committerJune McEnroe <june@causal.agency>2022-01-19 20:51:03 -0500
commit74276efb806fb548dc2dff23b3c6526160172b04 (patch)
tree160bcae5d9825eaec751c0fb920b220710598120 /cards/example.c
parentReplace build system with cmake (diff)
parentReplace build system with cmake (diff)
downloadwep-74276efb806fb548dc2dff23b3c6526160172b04.tar.gz
wep-74276efb806fb548dc2dff23b3c6526160172b04.zip
Merge commit '344497630ac9ef2d46287cd574472ce369694076'
Diffstat (limited to '')
-rw-r--r--cards/example.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cards/example.c b/cards/example.c
index 8790d65..859adc1 100644
--- a/cards/example.c
+++ b/cards/example.c
@@ -39,7 +39,10 @@ enum {
 	WindowHeight = MarginY + 4 * DeltaY,
 };
 
-int main(void) {
+int main(int argc, char *argv[]) {
+	(void)argc;
+	(void)argv;
+
 	if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init");
 
 	struct SDL_RWops *rw = SDL_RWFromFile("CARDS.DLL", "rb");