Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b8585b8d
Commit
b8585b8d
authored
Jul 21, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jul 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some char* to const char* to fix warnigns.
parent
76fdac03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
writer.c
dlls/riched20/writer.c
+2
-2
download.c
dlls/wineps/download.c
+1
-1
parser.y
tools/widl/parser.y
+2
-2
No files found.
dlls/riched20/writer.c
View file @
b8585b8d
...
...
@@ -109,7 +109,7 @@ ME_StreamOutMove(ME_TextEditor *editor, BYTE *buffer, int len)
static
BOOL
ME_StreamOutPrint
(
ME_TextEditor
*
editor
,
char
*
format
,
...)
ME_StreamOutPrint
(
ME_TextEditor
*
editor
,
c
onst
c
har
*
format
,
...)
{
char
string
[
STREAMOUT_BUFFER_SIZE
];
/* This is going to be enough */
int
len
;
...
...
@@ -126,7 +126,7 @@ ME_StreamOutPrint(ME_TextEditor *editor, char *format, ...)
static
BOOL
ME_StreamOutRTFHeader
(
ME_TextEditor
*
editor
,
int
dwFormat
)
{
char
*
cCharSet
=
NULL
;
c
onst
c
har
*
cCharSet
=
NULL
;
UINT
nCodePage
;
LANGID
language
;
BOOL
success
;
...
...
dlls/wineps/download.c
View file @
b8585b8d
...
...
@@ -271,7 +271,7 @@ BOOL PSDRV_EmptyDownloadList(PSDRV_PDEVICE *physDev, BOOL write_undef)
DOWNLOAD
*
pdl
,
*
old
;
static
const
char
undef
[]
=
"/%s findfont 40 scalefont setfont /%s undefinefont
\n
"
;
char
buf
[
sizeof
(
undef
)
+
200
];
char
*
default_font
=
physDev
->
pi
->
ppd
->
DefaultFont
?
c
onst
c
har
*
default_font
=
physDev
->
pi
->
ppd
->
DefaultFont
?
physDev
->
pi
->
ppd
->
DefaultFont
:
"Courier"
;
if
(
physDev
->
font
.
fontloc
==
Download
)
{
...
...
tools/widl/parser.y
View file @
b8585b8d
...
...
@@ -86,7 +86,7 @@ static class_t *make_class(char *name);
static type_t *reg_type(type_t *type, char *name, int t);
static type_t *reg_types(type_t *type, var_t *names, int t);
static type_t *find_type(char *name, int t);
static type_t *find_type(c
onst c
har *name, int t);
static type_t *find_type2(char *name, int t);
static type_t *get_type(unsigned char type, char *name, int t);
static type_t *get_typev(unsigned char type, var_t *name, int t);
...
...
@@ -1168,7 +1168,7 @@ static type_t *reg_types(type_t *type, var_t *names, int t)
return type;
}
static type_t *find_type(char *name, int t)
static type_t *find_type(c
onst c
har *name, int t)
{
struct rtype *cur = type_hash[hash_ident(name)];
while (cur && (cur->t != t || strcmp(cur->name, name)))
...
...
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