fix missing ~other_tag, remove some warings

This commit is contained in:
Jinhao
2016-06-25 06:00:40 +08:00
parent d701650cd5
commit 4a6331e625
5 changed files with 5 additions and 4 deletions

View File

@@ -2078,7 +2078,7 @@ namespace nana
unsigned x_offset() const
{
return (h.empty() ? 0 : h.value());
return static_cast<unsigned>(h.empty() ? 0 : h.value());
}
index_pair offset_y_abs, offset_y_dpl; //cat stands for category, item stands for item. "item == npos" means that is a category.