kicad/common/page_layout
Ben Dooks 651e7f664d Fix type-cast in page_layout_reader.cpp
The wksFile.Read() call returns a size_t which is then compared
with a int. Make the filelen variable a size_t to make sure it is
of the correct width.

Fixes the following warning:

kicad/common/page_layout/page_layout_reader.cpp: In member function ‘void WS_DATA_MODEL::SetPageLayout(const wxString&, bool)’:
kicad/common/page_layout/page_layout_reader.cpp:853:41: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  853 |     if( wksFile.Read( buffer, filelen ) != filelen )
2020-12-16 10:59:26 +00:00
..
page_layout_default_description.cpp Remove eda_item and gr_basic from eda_text.h 2020-10-13 22:46:39 -04:00
page_layout_reader.cpp Fix type-cast in page_layout_reader.cpp 2020-12-16 10:59:26 +00:00
page_layout_reader.keywords Remove duplicate files. 2013-10-18 19:38:03 +02:00
ws_data_item.cpp Null pointer safety (from Coverity). 2020-11-29 10:57:45 +00:00
ws_data_model.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
ws_data_model_io.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
ws_draw_item.cpp Make PLEditor greedy selections of rectangles sparse. 2020-12-02 23:18:33 +00:00
ws_painter.cpp Eeschema: add schematic sheet page number. 2020-10-19 14:05:45 -04:00
ws_proxy_undo_item.cpp Relocate the page_layout includes to a page_layout folder 2020-10-13 20:33:33 -04:00
ws_proxy_view_item.cpp Fix a few compil and Coverity warnings. 2020-10-25 10:02:07 +01:00