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
5ea25c62
Commit
5ea25c62
authored
Jan 15, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove unneeded casts.
parent
74a468d0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
oleaut.c
dlls/oleaut32/oleaut.c
+1
-1
olepicture.c
dlls/oleaut32/olepicture.c
+1
-1
safearray.c
dlls/oleaut32/safearray.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+2
-2
typelib16.c
dlls/oleaut32/typelib16.c
+1
-1
No files found.
dlls/oleaut32/oleaut.c
View file @
5ea25c62
...
...
@@ -837,7 +837,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDll
);
OLEAUT32_hModule
=
(
HMODULE
)
hInstDll
;
OLEAUT32_hModule
=
hInstDll
;
break
;
case
DLL_PROCESS_DETACH
:
break
;
...
...
dlls/oleaut32/olepicture.c
View file @
5ea25c62
...
...
@@ -1277,7 +1277,7 @@ static HRESULT OLEPictureImpl_LoadJpeg(OLEPictureImpl *This, BYTE *xbuf, ULONG x
jd
.
err
=
pjpeg_std_error
(
&
jerr
);
/* jpeg_create_decompress is a macro that expands to jpeg_CreateDecompress - see jpeglib.h
* jpeg_create_decompress(&jd); */
pjpeg_CreateDecompress
(
&
jd
,
JPEG_LIB_VERSION
,
(
size_t
)
sizeof
(
struct
jpeg_decompress_struct
));
pjpeg_CreateDecompress
(
&
jd
,
JPEG_LIB_VERSION
,
sizeof
(
struct
jpeg_decompress_struct
));
jd
.
src
=
&
xjsm
;
ret
=
pjpeg_read_header
(
&
jd
,
TRUE
);
jd
.
out_color_space
=
JCS_RGB
;
...
...
dlls/oleaut32/safearray.c
View file @
5ea25c62
...
...
@@ -805,7 +805,7 @@ HRESULT WINAPI SafeArrayUnlock(SAFEARRAY *psa)
if
(
!
psa
)
return
E_INVALIDARG
;
if
(
(
LONG
)
InterlockedDecrement
(
(
LONG
*
)
&
psa
->
cLocks
)
<
0
)
if
(
InterlockedDecrement
(
(
LONG
*
)
&
psa
->
cLocks
)
<
0
)
{
WARN
(
"Unlocked but no lock held!
\n
"
);
InterlockedIncrement
(
(
LONG
*
)
&
psa
->
cLocks
);
...
...
dlls/oleaut32/typelib.c
View file @
5ea25c62
...
...
@@ -2587,7 +2587,7 @@ static ITypeLib2* ITypeLib2_Constructor_MSFT(LPVOID pLib, DWORD dwTLBLength)
ITypeInfoImpl
**
ppTI
=
&
(
pTypeLibImpl
->
pTypeInfo
);
int
i
;
for
(
i
=
0
;
i
<
(
int
)
tlbHeader
.
nrtypeinfos
;
i
++
)
for
(
i
=
0
;
i
<
tlbHeader
.
nrtypeinfos
;
i
++
)
{
*
ppTI
=
MSFT_DoTypeInfo
(
&
cx
,
i
,
pTypeLibImpl
);
...
...
@@ -6249,7 +6249,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeInfo(
if
(
ref_type
->
pImpTLInfo
->
pImpTypeLib
)
{
TRACE
(
"typeinfo in imported typelib that is already loaded
\n
"
);
pTLib
=
(
ITypeLib
*
)
ref_type
->
pImpTLInfo
->
pImpTypeLib
;
ITypeLib2_AddRef
(
(
ITypeLib
*
)
pTLib
);
ITypeLib2_AddRef
(
pTLib
);
result
=
S_OK
;
}
else
{
TRACE
(
"typeinfo in imported typelib that isn't already loaded
\n
"
);
...
...
dlls/oleaut32/typelib16.c
View file @
5ea25c62
...
...
@@ -91,7 +91,7 @@ QueryPathOfRegTypeLib16(
wMaj
,
wMin
,
lcid
);
}
else
{
sprintf
(
xguid
,
"<guid 0x%08x>"
,(
DWORD
)
guid
);
FIXME
(
"(%s,%d,%d,0x%04x,%p),can't handle non-string guids.
\n
"
,
xguid
,
wMaj
,
wMin
,
(
DWORD
)
lcid
,
path
);
FIXME
(
"(%s,%d,%d,0x%04x,%p),can't handle non-string guids.
\n
"
,
xguid
,
wMaj
,
wMin
,
lcid
,
path
);
return
E_FAIL
;
}
plen
=
sizeof
(
pathname
);
...
...
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