aboutsummaryrefslogtreecommitdiff
path: root/graphics/urt/files/patch-tools__avg4.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/urt/files/patch-tools__avg4.c')
-rw-r--r--graphics/urt/files/patch-tools__avg4.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__avg4.c b/graphics/urt/files/patch-tools__avg4.c
new file mode 100644
index 000000000000..aabf0b37e01c
--- /dev/null
+++ b/graphics/urt/files/patch-tools__avg4.c
@@ -0,0 +1,15 @@
+--- tools/avg4.c.orig 1992-04-30 23:08:43.000000000 +0900
++++ tools/avg4.c 2012-10-15 22:52:09.000000000 +0900
+@@ -34,10 +34,10 @@
+ #include <stdio.h>
+ #include "rle.h"
+
+-static bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
++static int bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
+ 192, 63, 127, 127, 192, 127, 192, 192, 255};
+
+-void
++int
+ main(argc, argv)
+ int argc;
+ char *argv[];