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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
reader.c
dlls/riched20/reader.c
+3
-3
No files found.
dlls/riched20/reader.c
View file @
b038fa18
...
@@ -66,7 +66,7 @@ static void ReadPictGroup (RTF_Info *);
...
@@ -66,7 +66,7 @@ static void ReadPictGroup (RTF_Info *);
static
void
ReadObjGroup
(
RTF_Info
*
);
static
void
ReadObjGroup
(
RTF_Info
*
);
static
void
LookupInit
(
void
);
static
void
LookupInit
(
void
);
static
void
Lookup
(
RTF_Info
*
,
char
*
);
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
CharAttr
(
RTF_Info
*
info
);
static
void
CharSet
(
RTF_Info
*
info
);
static
void
CharSet
(
RTF_Info
*
info
);
...
@@ -2350,7 +2350,7 @@ static void LookupInit(void)
...
@@ -2350,7 +2350,7 @@ static void LookupInit(void)
for
(
rp
=
rtfKey
;
rp
->
rtfKStr
!=
NULL
;
rp
++
)
{
for
(
rp
=
rtfKey
;
rp
->
rtfKStr
!=
NULL
;
rp
++
)
{
int
index
;
int
index
;
rp
->
rtfKHash
=
Hash
(
(
char
*
)
rp
->
rtfKStr
);
rp
->
rtfKHash
=
Hash
(
rp
->
rtfKStr
);
index
=
rp
->
rtfKHash
%
(
RTF_KEY_COUNT
*
2
);
index
=
rp
->
rtfKHash
%
(
RTF_KEY_COUNT
*
2
);
if
(
!
rtfHashTable
[
index
].
count
)
if
(
!
rtfHashTable
[
index
].
count
)
rtfHashTable
[
index
].
value
=
RTFAlloc
(
sizeof
(
RTFKey
*
));
rtfHashTable
[
index
].
value
=
RTFAlloc
(
sizeof
(
RTFKey
*
));
...
@@ -2398,7 +2398,7 @@ static void Lookup(RTF_Info *info, char *s)
...
@@ -2398,7 +2398,7 @@ static void Lookup(RTF_Info *info, char *s)
* Compute hash value of symbol
* Compute hash value of symbol
*/
*/
static
int
Hash
(
char
*
s
)
static
int
Hash
(
c
onst
c
har
*
s
)
{
{
char
c
;
char
c
;
int
val
=
0
;
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