openbsd-ports/games/micropolis/patches/patch-src_tk_tkpixmap_c

14 lines
438 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_tk_tkpixmap_c,v 1.4 2017/05/09 13:01:42 espie Exp $
Index: src/tk/tkpixmap.c
--- src/tk/tkpixmap.c.orig
+++ src/tk/tkpixmap.c
@@ -516,7 +516,7 @@ Tk_GetPixmapFromData(interp, tkwin, source, width, hei
Tk_Uid name = NULL; /* Initialization need only to prevent
* compiler warning. */
int new;
- static autoNumber = 0;
+ static int autoNumber = 0;
char string[20];
if (!initialized) {