gallium/util: make src_y unsigned like the other x/y params
authorBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 15:48:25 +0000 (08:48 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 16:20:48 +0000 (09:20 -0700)
src/gallium/auxiliary/util/u_rect.c
src/gallium/auxiliary/util/u_rect.h

index 298fbacecbae7c09411cf6b32e9bd55ab856cb2f..85ca058b665efce294cb86d5f2269a9d3d976244 100644 (file)
@@ -54,7 +54,7 @@ util_copy_rect(ubyte * dst,
                const ubyte * src,
                int src_stride,
                unsigned src_x, 
-               int src_y)
+               unsigned src_y)
 {
    unsigned i;
    int src_stride_pos = src_stride < 0 ? -src_stride : src_stride;
index 5e444ffae210452fc441d6e79405b52e8c9fd4c0..b44d821904b06d83a66daa42032d2079c3413a84 100644 (file)
@@ -45,7 +45,7 @@ extern void
 util_copy_rect(ubyte * dst, enum pipe_format format,
                unsigned dst_stride, unsigned dst_x, unsigned dst_y,
                unsigned width, unsigned height, const ubyte * src,
-               int src_stride, unsigned src_x, int src_y);
+               int src_stride, unsigned src_x, unsigned src_y);
 
 extern void
 util_fill_rect(ubyte * dst, enum pipe_format format,