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
723ee0a3
Commit
723ee0a3
authored
Jul 05, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.0 -Wpointer-sign fixes.
parent
60f85433
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
23 additions
and
21 deletions
+23
-21
acmstream.c
dlls/avifil32/acmstream.c
+1
-1
avifile.c
dlls/avifil32/avifile.c
+2
-2
editstream.c
dlls/avifil32/editstream.c
+1
-1
getframe.c
dlls/avifil32/getframe.c
+1
-1
icmstream.c
dlls/avifil32/icmstream.c
+1
-1
tmpfile.c
dlls/avifil32/tmpfile.c
+1
-1
wavfile.c
dlls/avifil32/wavfile.c
+1
-1
sfnt2fnt.c
tools/sfnt2fnt.c
+1
-1
spec16.c
tools/winebuild/spec16.c
+1
-1
le.c
tools/winedump/le.c
+2
-2
lnk.c
tools/winedump/lnk.c
+6
-4
ne.c
tools/winedump/ne.c
+2
-2
winedump.h
tools/winedump/winedump.h
+1
-1
readres.c
tools/wrc/readres.c
+2
-2
No files found.
dlls/avifil32/acmstream.c
View file @
723ee0a3
...
...
@@ -74,7 +74,7 @@ static const struct IAVIStreamVtbl iacmst = {
typedef
struct
_IAVIStreamImpl
{
/* IUnknown stuff */
const
IAVIStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIStream stuff */
PAVISTREAM
pStream
;
...
...
dlls/avifil32/avifile.c
View file @
723ee0a3
...
...
@@ -149,7 +149,7 @@ typedef struct _IPersistFileImpl {
typedef
struct
_IAVIStreamImpl
{
/* IUnknown stuff */
const
IAVIStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIStream stuff */
IAVIFileImpl
*
paf
;
...
...
@@ -178,7 +178,7 @@ typedef struct _IAVIStreamImpl {
struct
_IAVIFileImpl
{
/* IUnknown stuff */
const
IAVIFileVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIFile stuff... */
IPersistFileImpl
iPersistFile
;
...
...
dlls/avifil32/editstream.c
View file @
723ee0a3
...
...
@@ -165,7 +165,7 @@ typedef struct _IEditStreamInternalImpl {
struct
_IAVIEditStreamImpl
{
/* IUnknown stuff */
const
IAVIEditStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIEditStream stuff */
IEditAVIStreamImpl
iAVIStream
;
...
...
dlls/avifil32/getframe.c
View file @
723ee0a3
...
...
@@ -67,7 +67,7 @@ static const struct IGetFrameVtbl igetframeVtbl = {
typedef
struct
_IGetFrameImpl
{
/* IUnknown stuff */
const
IGetFrameVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IGetFrame stuff */
BOOL
bFixedStream
;
...
...
dlls/avifil32/icmstream.c
View file @
723ee0a3
...
...
@@ -77,7 +77,7 @@ static const struct IAVIStreamVtbl iicmst = {
typedef
struct
_IAVIStreamImpl
{
/* IUnknown stuff */
const
IAVIStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIStream stuff */
PAVISTREAM
pStream
;
...
...
dlls/avifil32/tmpfile.c
View file @
723ee0a3
...
...
@@ -66,7 +66,7 @@ static const struct IAVIFileVtbl itmpft = {
typedef
struct
_ITmpFileImpl
{
/* IUnknown stuff */
const
IAVIFileVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIFile stuff */
AVIFILEINFOW
fInfo
;
...
...
dlls/avifil32/wavfile.c
View file @
723ee0a3
...
...
@@ -187,7 +187,7 @@ typedef struct _IAVIStreamImpl {
struct
_IAVIFileImpl
{
/* IUnknown stuff */
const
IAVIFileVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IAVIFile, IAVIStream stuff... */
IPersistFileImpl
iPersistFile
;
...
...
tools/sfnt2fnt.c
View file @
723ee0a3
...
...
@@ -123,7 +123,7 @@ static void fill_fontinfo(FT_Face face, int enc, FILE *fp, int dpi, unsigned cha
DWORD
start
;
CHAR_TABLE_ENTRY
*
dfCharTable
;
int
i
,
x
,
y
,
x_off
,
x_end
,
first_char
;
FT_Int
gi
;
FT_
U
Int
gi
;
int
num_names
;
const
union
cptable
*
cptable
;
FT_SfntName
sfntname
;
...
...
tools/winebuild/spec16.c
View file @
723ee0a3
...
...
@@ -398,7 +398,7 @@ void BuildSpec16File( FILE *outfile, DLLSPEC *spec )
ORDDEF
**
type
,
**
typelist
;
int
i
,
nFuncs
,
nTypes
;
unsigned
char
*
resdir_buffer
,
*
resdata_buffer
,
*
et_buffer
,
*
data_buffer
;
unsigned
char
string
[
256
];
char
string
[
256
];
unsigned
int
ne_offset
,
segtable_offset
,
impnames_offset
;
unsigned
int
entrypoint_size
,
callfrom_size
;
unsigned
int
code_size
,
code_offset
;
...
...
tools/winedump/le.c
View file @
723ee0a3
...
...
@@ -288,7 +288,7 @@ static void dump_le_objects( const void *base, const IMAGE_VXD_HEADER *le )
static
void
dump_le_names
(
const
void
*
base
,
const
IMAGE_VXD_HEADER
*
le
)
{
const
char
*
pstr
=
(
const
char
*
)
le
+
le
->
e32_restab
;
const
unsigned
char
*
pstr
=
(
const
unsigned
char
*
)
le
+
le
->
e32_restab
;
printf
(
"
\n
Resident name table:
\n
"
);
while
(
*
pstr
)
...
...
@@ -300,7 +300,7 @@ static void dump_le_names( const void *base, const IMAGE_VXD_HEADER *le )
if
(
le
->
e32_cbnrestab
)
{
printf
(
"
\n
Non-resident name table:
\n
"
);
pstr
=
(
char
*
)
base
+
le
->
e32_nrestab
;
pstr
=
(
unsigned
char
*
)
base
+
le
->
e32_nrestab
;
while
(
*
pstr
)
{
printf
(
" %4d: %*.*s
\n
"
,
get_word
(
pstr
+
*
pstr
+
1
),
*
pstr
,
*
pstr
,
...
...
tools/winedump/lnk.c
View file @
723ee0a3
...
...
@@ -312,9 +312,10 @@ static const unsigned char table_dec85[0x80] = {
0x47
,
0x48
,
0x49
,
0x4a
,
0x4b
,
0x4c
,
0x4d
,
0x4e
,
0x4f
,
0x50
,
0x51
,
0x52
,
0xff
,
0x53
,
0x54
,
0xff
,
};
static
int
base85_to_guid
(
const
unsigned
char
*
str
,
LPGUID
guid
)
static
int
base85_to_guid
(
const
char
*
str
,
LPGUID
guid
)
{
DWORD
i
,
val
=
0
,
base
=
1
,
*
p
;
unsigned
char
ch
;
p
=
(
DWORD
*
)
guid
;
for
(
i
=
0
;
i
<
20
;
i
++
)
...
...
@@ -324,10 +325,11 @@ static int base85_to_guid( const unsigned char *str, LPGUID guid )
val
=
0
;
base
=
1
;
}
val
+=
table_dec85
[
str
[
i
]]
*
base
;
if
(
str
[
i
]
>=
0x80
)
ch
=
str
[
i
]
;
if
(
ch
>=
0x80
)
return
0
;
if
(
table_dec85
[
str
[
i
]]
==
0xff
)
val
+=
table_dec85
[
ch
]
*
base
;
if
(
table_dec85
[
ch
]
==
0xff
)
return
0
;
if
(
(
i
%
5
)
==
4
)
p
[
i
/
5
]
=
val
;
...
...
tools/winedump/ne.c
View file @
723ee0a3
...
...
@@ -97,7 +97,7 @@ static void dump_ne_header( const IMAGE_OS2_HEADER *ne )
static
void
dump_ne_names
(
const
void
*
base
,
const
IMAGE_OS2_HEADER
*
ne
)
{
const
char
*
pstr
=
(
const
char
*
)
ne
+
ne
->
ne_restab
;
const
unsigned
char
*
pstr
=
(
const
unsigned
char
*
)
ne
+
ne
->
ne_restab
;
printf
(
"
\n
Resident name table:
\n
"
);
while
(
*
pstr
)
...
...
@@ -108,7 +108,7 @@ static void dump_ne_names( const void *base, const IMAGE_OS2_HEADER *ne )
if
(
ne
->
ne_cbnrestab
)
{
printf
(
"
\n
Non-resident name table:
\n
"
);
pstr
=
(
char
*
)
base
+
ne
->
ne_nrestab
;
pstr
=
(
unsigned
char
*
)
base
+
ne
->
ne_nrestab
;
while
(
*
pstr
)
{
printf
(
" %4d: %*.*s
\n
"
,
get_word
(
pstr
+
*
pstr
+
1
),
*
pstr
,
*
pstr
,
pstr
+
1
);
...
...
tools/winedump/winedump.h
View file @
723ee0a3
...
...
@@ -82,7 +82,7 @@ typedef struct __parsed_symbol
char
*
return_text
;
char
return_type
;
char
*
function_name
;
unsigned
int
varargs
;
int
varargs
;
unsigned
int
argc
;
unsigned
int
flags
;
char
arg_type
[
MAX_FUNCTION_ARGS
];
...
...
tools/wrc/readres.c
View file @
723ee0a3
...
...
@@ -233,7 +233,7 @@ static resource_t *read_res32(FILE *fp)
str
=
new_string
();
str
->
type
=
str_unicode
;
str
->
size
=
(
idx
-
tag
)
/
2
;
str
->
str
.
wstr
=
(
short
*
)
xmalloc
(
idx
-
tag
+
2
);
str
->
str
.
wstr
=
xmalloc
(
idx
-
tag
+
2
);
memcpy
(
str
->
str
.
wstr
,
&
res
->
data
[
tag
],
idx
-
tag
);
str
->
str
.
wstr
[
str
->
size
]
=
0
;
type
=
new_name_id
();
...
...
@@ -267,7 +267,7 @@ static resource_t *read_res32(FILE *fp)
str
=
new_string
();
str
->
type
=
str_unicode
;
str
->
size
=
(
idx
-
tag
)
/
2
;
str
->
str
.
wstr
=
(
short
*
)
xmalloc
(
idx
-
tag
+
2
);
str
->
str
.
wstr
=
xmalloc
(
idx
-
tag
+
2
);
memcpy
(
str
->
str
.
wstr
,
&
res
->
data
[
tag
],
idx
-
tag
);
str
->
str
.
wstr
[
str
->
size
]
=
0
;
name
=
new_name_id
();
...
...
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