Index: ui/base/x/selection_owner.cc |
diff --git a/ui/base/x/selection_owner.cc b/ui/base/x/selection_owner.cc |
index b2b44c9d313a1b1e1bec86b94c9e79e412d4a582..73c6d3e1c06cfefa3be34e682c926bb47dfc3ad0 100644 |
--- a/ui/base/x/selection_owner.cc |
+++ b/ui/base/x/selection_owner.cc |
@@ -247,7 +247,7 @@ bool SelectionOwner::ProcessTarget(XAtom target, |
// We must send the data back in several chunks due to a limitation in |
// the size of X requests. Notify the selection requestor that the data |
// will be sent incrementally by returning data of type "INCR". |
- int length = it->second->size(); |
+ long length = it->second->size(); |
XChangeProperty(x_display_, |
requestor, |
property, |