box_type_t *r1End,
box_type_t *r2,
box_type_t *r2End,
- short y1,
- short y2,
+ int y1,
+ int y2,
int *pOverlap);
static pixman_bool_t
box_type_t * r2; /* Pointer into 2d region */
box_type_t * r1End; /* End of 1st region */
box_type_t * r2End; /* End of 2d region */
- short ybot; /* Bottom of intersection */
- short ytop; /* Top of intersection */
+ int ybot; /* Bottom of intersection */
+ int ytop; /* Top of intersection */
region_data_type_t * oldData; /* Old data for newReg */
int prevBand; /* Index of start of
* previous band in newReg */
* band in newReg */
box_type_t * r1BandEnd; /* End of current band in r1 */
box_type_t * r2BandEnd; /* End of current band in r2 */
- short top; /* Top of non-overlapping band */
- short bot; /* Bottom of non-overlapping band*/
+ int top; /* Top of non-overlapping band */
+ int bot; /* Bottom of non-overlapping band*/
int r1y1; /* Temps for r1->y1 and r2->y1 */
int r2y1;
int newSize;
box_type_t *r1End,
box_type_t *r2,
box_type_t *r2End,
- short y1,
- short y2,
+ int y1,
+ int y2,
int *pOverlap)
{
int x1;
box_type_t *r1End,
box_type_t *r2,
box_type_t *r2End,
- short y1,
- short y2,
+ int y1,
+ int y2,
int *pOverlap)
{
box_type_t * pNextRect;
box_type_t * r1End,
box_type_t * r2,
box_type_t * r2End,
- short y1,
- short y2,
+ int y1,
+ int y2,
int *pOverlap)
{
box_type_t * pNextRect;
#include <stdio.h>
#include "pixman.h"
-/* This seems to go into an infinite loop
+/* This used to go into an infinite loop before pixman-region.c
+ * was fixed to not use explict "short" variables
*/
int
main ()