aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 008bb84..458f362 100644
--- a/src/main.c
+++ b/src/main.c
@@ -8,12 +8,14 @@
static const int speed = 4;
-int main(int argc, const char **argv) {
+int main(int argc, char **argv) {
int x = 0;
int y = 0;
- if (LZY_Init(argc, argv, "lzy example", 30, "res/tset.png",
- "res/font.png")) {
+ (void)argc;
+ (void)argv;
+
+ if (LZY_Init("lzy example", 30, "res/tset.png", "res/font.png")) {
LZY_Log("LZY_Init failed: %s", LZY_GetError());
LZY_Quit();
return 1;