summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Loup Griffais <pgriffais@nvidia.com>2008-04-18 17:32:32 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-04-18 18:00:30 -0700
commitf6f784c0f98c28915bd26d04e4d8839806e29877 (patch)
treec551a7b3338b51006b7f3410f045f412ead010ff
parent5653231fcde636e4215c70b1e436554e1ffe07a7 (diff)
Use Data instead of Data32 to avoid truncating the filter parameters on 64-bit systems.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r--src/Filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Filter.c b/src/Filter.c
index 0ccc811..45a481b 100644
--- a/src/Filter.c
+++ b/src/Filter.c
@@ -146,7 +146,7 @@ XRenderSetPictureFilter (Display *dpy,
req->nbytes = nbytes;
req->length += ((nbytes + 3) >> 2) + nparams;
Data (dpy, filter, nbytes);
- Data32 (dpy, params, nparams << 2);
+ Data (dpy, params, nparams << 2);
UnlockDisplay(dpy);
SyncHandle();
}