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
b038fa18
Commit
b038fa18
authored
Sep 25, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Cast-qual warning fix.
parent
4e9087a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
reader.c
dlls/riched20/reader.c
+4
-4
No files found.
dlls/riched20/reader.c
View file @
b038fa18
...
...
@@ -66,7 +66,7 @@ static void ReadPictGroup (RTF_Info *);
static
void
ReadObjGroup
(
RTF_Info
*
);
static
void
LookupInit
(
void
);
static
void
Lookup
(
RTF_Info
*
,
char
*
);
static
int
Hash
(
c
har
*
);
static
int
Hash
(
c
onst
char
*
);
static
void
CharAttr
(
RTF_Info
*
info
);
static
void
CharSet
(
RTF_Info
*
info
);
...
...
@@ -2349,8 +2349,8 @@ static void LookupInit(void)
memset
(
rtfHashTable
,
0
,
RTF_KEY_COUNT
*
2
*
sizeof
(
*
rtfHashTable
));
for
(
rp
=
rtfKey
;
rp
->
rtfKStr
!=
NULL
;
rp
++
)
{
int
index
;
rp
->
rtfKHash
=
Hash
(
(
char
*
)
rp
->
rtfKStr
);
rp
->
rtfKHash
=
Hash
(
rp
->
rtfKStr
);
index
=
rp
->
rtfKHash
%
(
RTF_KEY_COUNT
*
2
);
if
(
!
rtfHashTable
[
index
].
count
)
rtfHashTable
[
index
].
value
=
RTFAlloc
(
sizeof
(
RTFKey
*
));
...
...
@@ -2398,7 +2398,7 @@ static void Lookup(RTF_Info *info, char *s)
* Compute hash value of symbol
*/
static
int
Hash
(
char
*
s
)
static
int
Hash
(
c
onst
c
har
*
s
)
{
char
c
;
int
val
=
0
;
...
...
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