opnsense-ports/graphics/urt/files/patch-tools__avg4.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 lines
392 B
C

--- 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[];