summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2001-03-02 13:04:26 +0000
committerHerbert Duerr <hdu@openoffice.org>2001-03-02 13:04:26 +0000
commit77a756c62424a44a4b0a2dc1ff578f41568a9ee4 (patch)
tree5e76a463d2498796ff81c2218df04a3f8664d814
parentd37c009feae41006c98e5bc5fc30bea75fd89a31 (diff)
get rid of signedness warning
-rw-r--r--vcl/unx/source/gdi/gcach_xpeer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/source/gdi/gcach_xpeer.cxx b/vcl/unx/source/gdi/gcach_xpeer.cxx
index 463da9ad4b13..88947cdc04a7 100644
--- a/vcl/unx/source/gdi/gcach_xpeer.cxx
+++ b/vcl/unx/source/gdi/gcach_xpeer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gcach_xpeer.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hdu $ $Date: 2001-02-28 08:29:31 $
+ * last change: $Author: hdu $ $Date: 2001-03-02 14:04:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -368,7 +368,7 @@ Glyph X11GlyphPeer::GetGlyphId( ServerFont& rServerFont, int nGlyphIndex )
aGlyphId = nGlyphIndex;
const ULONG nBytes = maRawBitmap.mnScanlineSize * maRawBitmap.mnHeight;
(*pXRenderAddGlyphs)( mpDisplay, aGlyphSet, &aGlyphId, &aGlyphInfo, 1,
- maRawBitmap.mpBits, nBytes );
+ (char*)maRawBitmap.mpBits, nBytes );
mnBytesUsed += nBytes;
rGlyphData.SetExtended( XRENDER_KIND, (void*)aGlyphId );