aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/gallium/auxiliary/util/u_upload_mgr.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-10-22 08:28:32 +0200
committermarha <marha@users.sourceforge.net>2012-10-22 08:28:32 +0200
commit34d741a3fc96c9424ffec29b114a1bdfde40f8b0 (patch)
treed879a3545ce91989c4fa621001eb7a44b2244cec /mesalib/src/gallium/auxiliary/util/u_upload_mgr.c
parentded57b5a4131a213d57f5a20d50b819b7a8924df (diff)
downloadvcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.tar.gz
vcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.tar.bz2
vcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.zip
libX11 mesa pixman git update 22 oct 2012
libX11: f2a8def423a46d52e834cf7ea49fa0079427663a mesa: 259fc154f1fdcabbc0a6c02c524962b063f9dee6 pixman: 31e5a0a393defb8e0534ab1bde29ab23fc04795d
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_upload_mgr.c')
-rw-r--r--mesalib/src/gallium/auxiliary/util/u_upload_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_upload_mgr.c b/mesalib/src/gallium/auxiliary/util/u_upload_mgr.c
index b62973de6..ee1c6881e 100644
--- a/mesalib/src/gallium/auxiliary/util/u_upload_mgr.c
+++ b/mesalib/src/gallium/auxiliary/util/u_upload_mgr.c
@@ -76,7 +76,7 @@ void u_upload_unmap( struct u_upload_mgr *upload )
{
if (upload->transfer) {
struct pipe_box *box = &upload->transfer->box;
- if (upload->offset > box->x) {
+ if ((int) upload->offset > box->x) {
pipe_buffer_flush_mapped_range(upload->pipe, upload->transfer,
box->x, upload->offset - box->x);