651e7f664d
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 ) |
||
---|---|---|
.. | ||
page_layout_default_description.cpp | ||
page_layout_reader.cpp | ||
page_layout_reader.keywords | ||
ws_data_item.cpp | ||
ws_data_model.cpp | ||
ws_data_model_io.cpp | ||
ws_draw_item.cpp | ||
ws_painter.cpp | ||
ws_proxy_undo_item.cpp | ||
ws_proxy_view_item.cpp |