diff --git a/magic/src/emitter.c b/magic/src/emitter.c index cae0c3319..0fd1bcad9 100644 --- a/magic/src/emitter.c +++ b/magic/src/emitter.c @@ -282,7 +282,8 @@ char *emitter_get_description(magic_api *api ATTRIBUTE_UNUSED, int which, int mo } void emitter_drag(magic_api *api, int which, SDL_Surface *canvas, - SDL_Surface *last, int ox ATTRIBUTE_UNUSED, int oy ATTRIBUTE_UNUSED, int x, int y, SDL_Rect *update_rect) + SDL_Surface *last, int ox ATTRIBUTE_UNUSED, int oy ATTRIBUTE_UNUSED, int x, int y, + SDL_Rect *update_rect) { int i, img; SDL_Surface *tmpSurf, *srcSurf; diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 439566d50..1740fdcfe 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - March 27, 2025 + June 14, 2002 - April 19, 2025 */ #include "platform.h" @@ -3181,7 +3181,7 @@ static void mainloop(void) if (tmp != NULL) { int exceeded; - int i; + int i; mbstowcs(tmp, pasted_txt, n); /* at most n wchar_t written */ exceeded = 0; @@ -14357,6 +14357,7 @@ static SDL_Surface *load_starter_helper(char *path_and_basename, char fname[256]; SDL_Surface *surf; unsigned int i; + #ifndef __ANDROID__ struct stat stat_buf; #endif