diff options
author | Dodji Seketeli <dodji@openedhand.com> | 2007-09-26 15:26:42 +0200 |
---|---|---|
committer | Dodji Seketeli <dodji@openedhand.com> | 2007-09-26 15:26:42 +0200 |
commit | aa0325db7e8ab11d9418cae14f11c488f443ccaa (patch) | |
tree | a7b1a0c782715c0ab16d6edfb500b5846cc034ee /hw/kdrive/ephyr/ephyr_draw.c | |
parent | ae8b4f7dcf1291a2f5a0d0159f3e6089eea0578a (diff) |
Xephyr: fix compiler warnings
* hw/kdrive/ephyr/ephyr_draw.c:
(ephyrDownloadFromScreen),
(ephyrUploadToScreen): fix compiler warnings
Diffstat (limited to 'hw/kdrive/ephyr/ephyr_draw.c')
-rw-r--r-- | hw/kdrive/ephyr/ephyr_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/ephyr/ephyr_draw.c b/hw/kdrive/ephyr/ephyr_draw.c index 93ef27ad3..422b7c6b6 100644 --- a/hw/kdrive/ephyr/ephyr_draw.c +++ b/hw/kdrive/ephyr/ephyr_draw.c @@ -308,7 +308,7 @@ ephyrDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, char *dst, KdScreenInfo *screen = pScreenPriv->screen; EphyrScrPriv *scrpriv = screen->driver; EphyrFakexaPriv *fakexa = scrpriv->fakexa; - char *src; + unsigned char *src; int src_pitch, cpp; if (pSrc->drawable.bitsPerPixel < 8) @@ -345,7 +345,7 @@ ephyrUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h, char *src, KdScreenInfo *screen = pScreenPriv->screen; EphyrScrPriv *scrpriv = screen->driver; EphyrFakexaPriv *fakexa = scrpriv->fakexa; - char *dst; + unsigned char *dst; int dst_pitch, cpp; if (pDst->drawable.bitsPerPixel < 8) |