Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0020c5f9
Commit
0020c5f9
authored
Jan 24, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gphoto2.ds: Avoid signed-unsigned integer comparisons.
parent
2e268d19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ds_image.c
dlls/gphoto2.ds/ds_image.c
+4
-2
No files found.
dlls/gphoto2.ds/ds_image.c
View file @
0020c5f9
...
...
@@ -435,7 +435,8 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
samprow
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
activeDS
.
jd
.
output_width
*
activeDS
.
jd
.
output_components
);
oldsamprow
=
samprow
;
while
(
activeDS
.
jd
.
output_scanline
<
activeDS
.
jd
.
output_height
)
{
int
i
,
x
=
pjpeg_read_scanlines
(
&
activeDS
.
jd
,
&
samprow
,
1
);
unsigned
int
i
;
int
x
=
pjpeg_read_scanlines
(
&
activeDS
.
jd
,
&
samprow
,
1
);
if
(
x
!=
1
)
{
FIXME
(
"failed to read current scanline?
\n
"
);
break
;
...
...
@@ -641,7 +642,8 @@ _get_gphoto2_file_as_DIB(
samprow
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
jd
.
output_width
*
jd
.
output_components
);
oldsamprow
=
samprow
;
while
(
jd
.
output_scanline
<
jd
.
output_height
)
{
int
i
,
x
=
pjpeg_read_scanlines
(
&
jd
,
&
samprow
,
1
);
unsigned
int
i
;
int
x
=
pjpeg_read_scanlines
(
&
jd
,
&
samprow
,
1
);
if
(
x
!=
1
)
{
FIXME
(
"failed to read current scanline?
\n
"
);
break
;
...
...
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