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
d244a55c
Commit
d244a55c
authored
Nov 04, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Nov 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Use unsigned type to avoid a compiler warning.
parent
28b32972
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
info.c
dlls/winspool.drv/info.c
+4
-6
No files found.
dlls/winspool.drv/info.c
View file @
d244a55c
...
...
@@ -145,7 +145,7 @@ static struct list monitor_handles = LIST_INIT( monitor_handles );
static
monitor_t
*
pm_localport
;
static
opened_printer_t
**
printer_handles
;
static
int
nb_printer_handles
;
static
UINT
nb_printer_handles
;
static
LONG
next_job_id
=
1
;
static
DWORD
(
WINAPI
*
GDI_CallDeviceCapabilities16
)(
LPCSTR
lpszDevice
,
LPCSTR
lpszPort
,
...
...
@@ -1566,11 +1566,9 @@ static opened_printer_t *get_opened_printer(HANDLE hprn)
EnterCriticalSection
(
&
printer_handles_cs
);
if
((
idx
<=
0
)
||
(
idx
>
nb_printer_handles
))
goto
end
;
ret
=
printer_handles
[
idx
-
1
];
end:
if
((
idx
>
0
)
&&
(
idx
<=
nb_printer_handles
))
{
ret
=
printer_handles
[
idx
-
1
];
}
LeaveCriticalSection
(
&
printer_handles_cs
);
return
ret
;
}
...
...
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