X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Flayout.h;fp=source%2Flayout.h;h=2e58505881c351856c0bc0aedc015da5a984f439;hp=14def25e718bc83e00f28d975ad4b08ba7945c29;hb=aa9b8db38efb9e97460c76e27cecc4d1591b23e5;hpb=762a689d799075c0a10e1633bf95d53de80b4572 diff --git a/source/layout.h b/source/layout.h index 14def25..2e58505 100644 --- a/source/layout.h +++ b/source/layout.h @@ -174,8 +174,8 @@ private: Container *container = nullptr; std::vector slots; - unsigned n_active_slots = 0; - unsigned n_slack_vars[2] = { 0, 0 }; + std::size_t n_active_slots = 0; + std::size_t n_slack_vars[2] = { 0, 0 }; Sides margin{ 8 }; unsigned row_spacing = 5; unsigned col_spacing = 4;