Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c3bb460d
Commit
c3bb460d
authored
Dec 29, 2013
by
Zhenbo Li
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Constify a few pointers.
parent
767c09f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
type1.c
dlls/wineps.drv/type1.c
+6
-6
No files found.
dlls/wineps.drv/type1.c
View file @
c3bb460d
...
...
@@ -63,11 +63,11 @@ enum t1_cmds {
(DWORD)_x1 )
#ifdef WORDS_BIGENDIAN
static
inline
WORD
get_be_word
(
const
void
*
p
)
{
return
*
(
WORD
*
)
p
;
}
static
inline
DWORD
get_be_dword
(
const
void
*
p
)
{
return
*
(
DWORD
*
)
p
;
}
static
inline
WORD
get_be_word
(
const
void
*
p
)
{
return
*
(
const
WORD
*
)
p
;
}
static
inline
DWORD
get_be_dword
(
const
void
*
p
)
{
return
*
(
const
DWORD
*
)
p
;
}
#else
static
inline
WORD
get_be_word
(
const
void
*
p
)
{
return
RtlUshortByteSwap
(
*
(
WORD
*
)
p
);
}
static
inline
DWORD
get_be_dword
(
const
void
*
p
)
{
return
RtlUlongByteSwap
(
*
(
DWORD
*
)
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
(
*
(
const
DWORD
*
)
p
);
}
#endif
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
}
else
{
arg1
=
*
(
char
*
)
ptr
++
;
arg2
=
*
(
char
*
)
ptr
++
;
arg1
=
*
(
c
onst
c
har
*
)
ptr
++
;
arg2
=
*
(
c
onst
c
har
*
)
ptr
++
;
}
if
(
flags
&
WE_HAVE_A_SCALE
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment