Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1424)

Side by Side Diff: third_party/agg23/0001-gcc-warning.patch

Issue 1981593002: Fix GCC warnings to be ready for GCC standalone build (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: update patch after formatting Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp ('k') | third_party/agg23/README.pdfium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/agg23/agg_path_storage.h b/third_party/agg23/agg_path_s torage.h
2 index dc13851..7f21bac 100644
3 --- a/third_party/agg23/agg_path_storage.h
4 +++ b/third_party/agg23/agg_path_storage.h
5 @@ -38,9 +38,9 @@ public:
6 }
7 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y)
8 {
9 - return (m_vertex_idx < m_path->total_vertices()) ?
10 - m_path->vertex(m_vertex_idx++, x, y) :
11 - path_cmd_stop;
12 + return (m_vertex_idx < m_path->total_vertices())
13 + ? m_path->vertex(m_vertex_idx++, x, y)
14 + : static_cast<unsigned>(path_cmd_stop);
15 }
16 private:
17 const path_storage* m_path;
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp ('k') | third_party/agg23/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698