summaryrefslogtreecommitdiff
path: root/media-libs/t1lib/files/t1lib-5.1.2-c99.patch
blob: d1d3301fcc62b25e90bab8cf8277b4ef01ddb191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://src.fedoraproject.org/rpms/t1lib/blob/rawhide/f/t1lib-c99.patch

Add missing parameter types for improved C99 compatibility: implicit
ints are not part of C99.

--- a/lib/type1/regions.c
+++ b/lib/type1/regions.c
@@ -604,6 +604,7 @@
        register struct region *R;  /* region in which we are changing direction */
        fractpel x,y;         /* current beginning x,y                        */
        fractpel dy;          /* direction and magnitude of change in y       */
+       int x2, y2;
 {
        register fractpel ymin,ymax;  /* minimum and maximum Y since last call */
        register fractpel x_at_ymin,x_at_ymax;  /* their respective X's       */