"Fossies" - the Fresh Open Source Software Archive

Member "texmaker-5.0.4/pdfium/third_party/agg23/0001-gcc-warning.patch" (16 Apr 2017, 707 Bytes) of package /linux/misc/texmaker-5.0.4.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff --git a/third_party/agg23/agg_path_storage.h b/third_party/agg23/agg_path_storage.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;