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
1bd306c8
Commit
1bd306c8
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gphoto2.ds: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7857fb5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/gphoto2.ds/Makefile.in
+0
-1
capability.c
dlls/gphoto2.ds/capability.c
+3
-3
gphoto2_main.c
dlls/gphoto2.ds/gphoto2_main.c
+2
-2
No files found.
dlls/gphoto2.ds/Makefile.in
View file @
1bd306c8
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
gphoto2.ds
UNIXLIB
=
gphoto2.so
IMPORTS
=
$(JPEG_PE_LIBS)
comctl32 user32 gdi32 advapi32
...
...
dlls/gphoto2.ds/capability.c
View file @
1bd306c8
...
...
@@ -187,7 +187,7 @@ static TW_BOOL GPHOTO2_OneValueSet32 (pTW_CAPABILITY pCapability, TW_UINT32 valu
{
pCapability
->
hContainer
=
GlobalAlloc
(
0
,
sizeof
(
TW_ONEVALUE
));
TRACE
(
"-> %d
\n
"
,
value
);
TRACE
(
"-> %
l
d
\n
"
,
value
);
if
(
pCapability
->
hContainer
)
{
...
...
@@ -250,7 +250,7 @@ static TW_BOOL GPHOTO2_EnumGet16 (pTW_CAPABILITY pCapability, int *nrofvalues, T
*
nrofvalues
=
pVal
->
NumItems
;
*
values
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
TW_UINT16
)
*
pVal
->
NumItems
);
memcpy
(
*
values
,
pVal
->
ItemList
,
sizeof
(
TW_UINT16
)
*
(
*
nrofvalues
));
FIXME
(
"Current Index %
d, Default Index %
d
\n
"
,
pVal
->
CurrentIndex
,
pVal
->
DefaultIndex
);
FIXME
(
"Current Index %
ld, Default Index %l
d
\n
"
,
pVal
->
CurrentIndex
,
pVal
->
DefaultIndex
);
GlobalUnlock
(
pCapability
->
hContainer
);
return
TRUE
;
}
...
...
@@ -302,7 +302,7 @@ static TW_UINT16 GPHOTO2_ICAPXferMech (pTW_CAPABILITY pCapability, TW_UINT16 act
if
(
!
GPHOTO2_OneValueGet32
(
pCapability
,
&
xfermechtemp
))
return
TWCC_LOWMEMORY
;
activeDS
.
capXferMech
=
xfermechtemp
;
TRACE
(
"xfermech is %d
\n
"
,
xfermechtemp
);
TRACE
(
"xfermech is %
l
d
\n
"
,
xfermechtemp
);
return
TWCC_SUCCESS
;
}
else
if
(
pCapability
->
ConType
==
TWON_ENUMERATION
)
...
...
dlls/gphoto2.ds/gphoto2_main.c
View file @
1bd306c8
...
...
@@ -481,7 +481,7 @@ unixlib_handle_t gphoto2_handle = 0;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"%p,%
l
x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
...
...
@@ -943,7 +943,7 @@ DS_Entry ( pTW_IDENTITY pOrigin,
{
TW_UINT16
twRC
=
TWRC_SUCCESS
;
/* Return Code */
TRACE
(
"(DG=%d DAT=%d MSG=%d)
\n
"
,
DG
,
DAT
,
MSG
);
TRACE
(
"(DG=%
l
d DAT=%d MSG=%d)
\n
"
,
DG
,
DAT
,
MSG
);
switch
(
DG
)
{
...
...
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