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
9e405708
Commit
9e405708
authored
Jan 28, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid compiler warning in STORAGE_get_free_pps_entry().
parent
c422dae1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
storage.c
dlls/ole32/storage.c
+2
-3
No files found.
dlls/ole32/storage.c
View file @
9e405708
...
...
@@ -281,13 +281,12 @@ STORAGE_get_next_small_blocknr(HANDLE hf,int blocknr) {
*/
static
int
STORAGE_get_nth_next_small_blocknr
(
HANDLE
hf
,
int
blocknr
,
int
nr
)
{
int
lastblocknr
;
int
lastblocknr
=-
1
;
BYTE
block
[
BIGSIZE
];
LPINT
sbd
=
(
LPINT
)
block
;
struct
storage_header
sth
;
READ_HEADER
;
lastblocknr
=-
1
;
assert
(
blocknr
>=
0
);
while
((
nr
--
)
&&
(
blocknr
>=
0
))
{
if
(
lastblocknr
/
128
!=
blocknr
/
128
)
{
...
...
@@ -659,7 +658,7 @@ STORAGE_get_free_small_blocknr(HANDLE hf) {
*/
static
int
STORAGE_get_free_pps_entry
(
HANDLE
hf
)
{
int
blocknr
,
i
,
curblock
,
lastblocknr
;
int
blocknr
,
i
,
curblock
,
lastblocknr
=-
1
;
BYTE
block
[
BIGSIZE
];
struct
storage_pps_entry
*
stde
=
(
struct
storage_pps_entry
*
)
block
;
struct
storage_header
sth
;
...
...
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