Commit c3bb460d authored by Zhenbo Li's avatar Zhenbo Li Committed by Alexandre Julliard

wineps.drv: Constify a few pointers.

parent 767c09f1
...@@ -63,11 +63,11 @@ enum t1_cmds { ...@@ -63,11 +63,11 @@ enum t1_cmds {
(DWORD)_x1 ) (DWORD)_x1 )
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
static inline WORD get_be_word(const void *p) { return *(WORD*)p; } static inline WORD get_be_word(const void *p) { return *(const WORD*)p; }
static inline DWORD get_be_dword(const void *p) { return *(DWORD*)p; } static inline DWORD get_be_dword(const void *p) { return *(const DWORD*)p; }
#else #else
static inline WORD get_be_word(const void *p) { return RtlUshortByteSwap(*(WORD*)p); } static inline WORD get_be_word(const void *p) { return RtlUshortByteSwap(*(const WORD*)p); }
static inline DWORD get_be_dword(const void *p) { return RtlUlongByteSwap(*(DWORD*)p); } static inline DWORD get_be_dword(const void *p) { return RtlUlongByteSwap(*(const DWORD*)p); }
#endif #endif
TYPE1 *T1_download_header(PHYSDEV dev, char *ps_name, RECT *bbox, UINT emsize) TYPE1 *T1_download_header(PHYSDEV dev, char *ps_name, RECT *bbox, UINT emsize)
...@@ -442,8 +442,8 @@ static BOOL append_complex_glyph(HDC hdc, const BYTE *data, glyph_outline *outli ...@@ -442,8 +442,8 @@ static BOOL append_complex_glyph(HDC hdc, const BYTE *data, glyph_outline *outli
} }
else else
{ {
arg1 = *(char*)ptr++; arg1 = *(const char*)ptr++;
arg2 = *(char*)ptr++; arg2 = *(const char*)ptr++;
} }
if(flags & WE_HAVE_A_SCALE) if(flags & WE_HAVE_A_SCALE)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment