Skip to content

Commit

Permalink
Fixed some compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 9, 2012
1 parent 8e20fbc commit 14f7ae6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions example/manymousepong.c
Expand Up @@ -193,15 +193,12 @@ static int initMice(void)

if (available_mice > MAX_PADDLES)
{
printf("Clamping to first %d mice.\n");
printf("Clamping to first %d mice.\n", available_mice);
available_mice = MAX_PADDLES;
}

for (i = 0; i < available_mice; i++)
{
const char *name = ManyMouse_DeviceName(i);
paddles[i].exists = 1;
}
}

setSidesExists();
Expand Down
2 changes: 1 addition & 1 deletion example/mmpong.c
Expand Up @@ -132,7 +132,7 @@ static void init_mice(void)

if (available_mice > MAX_MICE)
{
printf("Clamping to first %d mice.\n");
printf("Clamping to first %d mice.\n", available_mice);
available_mice = MAX_MICE;
}

Expand Down
2 changes: 1 addition & 1 deletion example/test_manymouse_sdl.c
Expand Up @@ -213,7 +213,7 @@ static void init_mice(void)

if (available_mice > MAX_MICE)
{
printf("Clamping to first %d mice.\n");
printf("Clamping to first %d mice.\n", available_mice);
available_mice = MAX_MICE;
}

Expand Down

0 comments on commit 14f7ae6

Please sign in to comment.