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
57b28bce
Commit
57b28bce
authored
Feb 25, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Avoid signed-unsigned integer comparisons.
parent
49992c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
capability.c
dlls/sane.ds/capability.c
+2
-2
No files found.
dlls/sane.ds/capability.c
View file @
57b28bce
...
...
@@ -174,7 +174,7 @@ static TW_UINT16 TWAIN_GetSupportedCaps(pTW_CAPABILITY pCapability)
if
(
pCapability
->
hContainer
)
{
UINT16
*
u
;
int
i
;
TW_UINT32
i
;
a
=
GlobalLock
(
pCapability
->
hContainer
);
a
->
ItemType
=
TWTY_UINT16
;
a
->
NumItems
=
sizeof
(
supported_caps
)
/
sizeof
(
supported_caps
[
0
]);
...
...
@@ -924,7 +924,7 @@ static TW_UINT16 SANE_ICAPSupportedSizes (pTW_CAPABILITY pCapability, TW_UINT16
#ifdef SONAME_LIBSANE
static
TW_UINT32
possible_values
[
SUPPORTED_SIZE_COUNT
];
int
i
;
unsigned
int
i
;
TW_UINT32
val
;
TW_UINT16
default_size
=
get_default_paper_size
(
supported_sizes
,
SUPPORTED_SIZE_COUNT
);
TW_UINT16
current_size
=
get_current_paper_size
(
supported_sizes
,
SUPPORTED_SIZE_COUNT
);
...
...
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