mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix build error
This commit is contained in:
parent
fa82ca0224
commit
58d8043e2b
@ -419,10 +419,10 @@ void TabBarPlus::currentTabToStart()
|
|||||||
void TabBarPlus::currentTabToEnd()
|
void TabBarPlus::currentTabToEnd()
|
||||||
{
|
{
|
||||||
int currentTabIndex = getCurrentTabIndex();
|
int currentTabIndex = getCurrentTabIndex();
|
||||||
if (currentTabIndex >= _nbItem)
|
if (currentTabIndex >= static_cast<int>(_nbItem))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (int i = currentTabIndex, j = currentTabIndex + 1; j < _nbItem; ++i, ++j)
|
for (int i = currentTabIndex, j = currentTabIndex + 1; j < static_cast<int>(_nbItem); ++i, ++j)
|
||||||
{
|
{
|
||||||
exchangeTabItemData(i, j);
|
exchangeTabItemData(i, j);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user