b=414092, crash at _moz_pixman_image_fill_rectangles on x86-64, r=karlt

This commit is contained in:
vladimir@pobox.com 2008-01-27 14:52:18 -08:00
parent f5319c33a3
commit 8328e9cd2c
6 changed files with 13 additions and 5 deletions

View File

@ -25,7 +25,7 @@
#endif #endif
#include <string.h> #include <string.h>
#include "pixman.h"
#include "pixman-private.h" #include "pixman-private.h"
#ifdef PIXMAN_FB_ACCESSORS #ifdef PIXMAN_FB_ACCESSORS

View File

@ -28,7 +28,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "pixman.h"
#include "pixman-private.h" #include "pixman-private.h"
static void static void

View File

@ -29,7 +29,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "pixman.h"
#include "pixman-private.h" #include "pixman-private.h"
#include "pixman-mmx.h" #include "pixman-mmx.h"

View File

@ -29,6 +29,7 @@
# define BITMAP_BIT_ORDER LSBFirst # define BITMAP_BIT_ORDER LSBFirst
#endif #endif
#undef DEBUG
#define DEBUG 0 #define DEBUG 0
#if defined (__GNUC__) #if defined (__GNUC__)
@ -41,16 +42,25 @@
#ifndef INT16_MIN #ifndef INT16_MIN
# define INT16_MIN (-32767-1) # define INT16_MIN (-32767-1)
#endif
#ifndef INT16_MAX
# define INT16_MAX (32767) # define INT16_MAX (32767)
#endif #endif
#ifndef INT32_MIN #ifndef INT32_MIN
# define INT32_MIN (-2147483647-1) # define INT32_MIN (-2147483647-1)
#endif
#ifndef INT32_MAX
# define INT32_MAX (2147483647) # define INT32_MAX (2147483647)
#endif #endif
#ifndef UINT32_MIN #ifndef UINT32_MIN
# define UINT32_MIN (0) # define UINT32_MIN (0)
#endif
#ifndef UINT32_MAX
# define UINT32_MAX (4294967295U) # define UINT32_MAX (4294967295U)
#endif #endif

View File

@ -55,7 +55,6 @@ SOFTWARE.
#include <stdio.h> #include <stdio.h>
#include "pixman-private.h" #include "pixman-private.h"
#include "pixman.h"
typedef struct pixman_region16_point { typedef struct pixman_region16_point {
int x, y; int x, y;

View File

@ -26,7 +26,7 @@
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include "pixman.h"
#include "pixman-private.h" #include "pixman-private.h"
#include "pixman-mmx.h" #include "pixman-mmx.h"