Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9824813

Browse filesBrowse files
committed
Get rid of a signed-compare warning.
rect_i.x1 is signed but width is unsigned. Casting width to signed is consistent with the rest of the code.
1 parent 9cffe0e commit 9824813
Copy full SHA for 9824813

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/_backend_agg.cpp

Copy file name to clipboardExpand all lines: src/_backend_agg.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ agg::rect_i RendererAgg::get_content_extents()
201201
}
202202
}
203203

204-
if (r.x1 == width && r.x2 == 0) {
204+
if (r.x1 == (int)width && r.x2 == 0) {
205205
// The buffer is completely empty.
206206
r.x1 = r.y1 = r.x2 = r.y2 = 0;
207207
} else {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.