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
16466af7
Commit
16466af7
authored
Jul 06, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.0 -Wpointer-sign fixes.
parent
53a3d04d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
35 deletions
+35
-35
action.c
dlls/msi/action.c
+29
-29
msipriv.h
dlls/msi/msipriv.h
+3
-3
string.c
dlls/msi/string.c
+2
-2
suminfo.c
dlls/msi/suminfo.c
+1
-1
No files found.
dlls/msi/action.c
View file @
16466af7
This diff is collapsed.
Click to expand it.
dlls/msi/msipriv.h
View file @
16466af7
...
@@ -55,7 +55,7 @@ struct tagMSIOBJECTHDR
...
@@ -55,7 +55,7 @@ struct tagMSIOBJECTHDR
{
{
UINT
magic
;
UINT
magic
;
UINT
type
;
UINT
type
;
DWORD
refcount
;
LONG
refcount
;
msihandledestructor
destructor
;
msihandledestructor
destructor
;
struct
tagMSIOBJECTHDR
*
next
;
struct
tagMSIOBJECTHDR
*
next
;
struct
tagMSIOBJECTHDR
*
prev
;
struct
tagMSIOBJECTHDR
*
prev
;
...
@@ -283,8 +283,8 @@ extern HRESULT init_string_table( IStorage *stg );
...
@@ -283,8 +283,8 @@ extern HRESULT init_string_table( IStorage *stg );
/* string table functions */
/* string table functions */
extern
BOOL
msi_addstring
(
string_table
*
st
,
int
string_no
,
const
CHAR
*
data
,
int
len
,
UINT
refcount
);
extern
BOOL
msi_addstring
(
string_table
*
st
,
UINT
string_no
,
const
CHAR
*
data
,
int
len
,
UINT
refcount
);
extern
BOOL
msi_addstringW
(
string_table
*
st
,
int
string_no
,
const
WCHAR
*
data
,
int
len
,
UINT
refcount
);
extern
BOOL
msi_addstringW
(
string_table
*
st
,
UINT
string_no
,
const
WCHAR
*
data
,
int
len
,
UINT
refcount
);
extern
UINT
msi_id2stringW
(
string_table
*
st
,
UINT
string_no
,
LPWSTR
buffer
,
UINT
*
sz
);
extern
UINT
msi_id2stringW
(
string_table
*
st
,
UINT
string_no
,
LPWSTR
buffer
,
UINT
*
sz
);
extern
UINT
msi_id2stringA
(
string_table
*
st
,
UINT
string_no
,
LPSTR
buffer
,
UINT
*
sz
);
extern
UINT
msi_id2stringA
(
string_table
*
st
,
UINT
string_no
,
LPSTR
buffer
,
UINT
*
sz
);
...
...
dlls/msi/string.c
View file @
16466af7
...
@@ -142,7 +142,7 @@ static void st_mark_entry_used( string_table *st, UINT n )
...
@@ -142,7 +142,7 @@ static void st_mark_entry_used( string_table *st, UINT n )
st
->
freeslot
=
n
+
1
;
st
->
freeslot
=
n
+
1
;
}
}
int
msi_addstring
(
string_table
*
st
,
int
n
,
const
CHAR
*
data
,
int
len
,
UINT
refcount
)
int
msi_addstring
(
string_table
*
st
,
UINT
n
,
const
CHAR
*
data
,
int
len
,
UINT
refcount
)
{
{
int
sz
;
int
sz
;
...
@@ -190,7 +190,7 @@ int msi_addstring( string_table *st, int n, const CHAR *data, int len, UINT refc
...
@@ -190,7 +190,7 @@ int msi_addstring( string_table *st, int n, const CHAR *data, int len, UINT refc
return
n
;
return
n
;
}
}
int
msi_addstringW
(
string_table
*
st
,
int
n
,
const
WCHAR
*
data
,
int
len
,
UINT
refcount
)
int
msi_addstringW
(
string_table
*
st
,
UINT
n
,
const
WCHAR
*
data
,
int
len
,
UINT
refcount
)
{
{
/* TRACE("[%2d] = %s\n", string_no, debugstr_an(data,len) ); */
/* TRACE("[%2d] = %s\n", string_no, debugstr_an(data,len) ); */
...
...
dlls/msi/suminfo.c
View file @
16466af7
...
@@ -331,7 +331,7 @@ static DWORD write_string( LPBYTE data, DWORD ofs, LPCSTR str )
...
@@ -331,7 +331,7 @@ static DWORD write_string( LPBYTE data, DWORD ofs, LPCSTR str )
DWORD
len
=
lstrlenA
(
str
)
+
1
;
DWORD
len
=
lstrlenA
(
str
)
+
1
;
write_dword
(
data
,
ofs
,
len
);
write_dword
(
data
,
ofs
,
len
);
if
(
data
)
if
(
data
)
lstrcpyA
(
&
data
[
ofs
+
4
],
str
);
memcpy
(
&
data
[
ofs
+
4
],
str
,
len
);
return
(
7
+
len
)
&
~
3
;
return
(
7
+
len
)
&
~
3
;
}
}
...
...
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