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
d0093f00
Commit
d0093f00
authored
May 16, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid a compiler warning on NetBSD.
parent
8921d8c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
cdrom.c
dlls/ntdll/cdrom.c
+7
-6
No files found.
dlls/ntdll/cdrom.c
View file @
d0093f00
...
...
@@ -610,20 +610,21 @@ static int CDROM_GetInterfaceInfo(int fd, UCHAR* iface, UCHAR* port, UCHAR* devi
struct
scsi_addr
addr
;
if
(
ioctl
(
fd
,
SCIOCIDENTIFY
,
&
addr
)
!=
-
1
)
{
switch
(
addr
.
type
)
switch
(
addr
.
type
)
{
case
TYPE_SCSI
:
*
port
=
1
;
case
TYPE_SCSI
:
*
port
=
1
;
*
iface
=
addr
.
addr
.
scsi
.
scbus
;
*
device
=
addr
.
addr
.
scsi
.
target
;
*
lun
=
addr
.
addr
.
scsi
.
lun
;
break
;
case
TYPE_ATAPI
:
*
port
=
0
;
return
1
;
case
TYPE_ATAPI
:
*
port
=
0
;
*
iface
=
addr
.
addr
.
atapi
.
atbus
;
*
device
=
addr
.
addr
.
atapi
.
drive
;
*
lun
=
0
;
break
;
return
1
;
}
return
1
;
}
return
0
;
#elif defined(__FreeBSD__)
...
...
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