• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28530 (tree)
Time2019-03-13 06:17:32
Authorstefankueng

Log Message

silence compiler warnings.

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/UnshelveDlg.cpp (revision 28529)
+++ trunk/src/TortoiseProc/UnshelveDlg.cpp (revision 28530)
@@ -1,6 +1,6 @@
11 // TortoiseSVN - a Windows shell extension for easy version control
22
3-// Copyright (C) 2017-2018 - TortoiseSVN
3+// Copyright (C) 2017-2019 - TortoiseSVN
44
55 // This program is free software; you can redistribute it and/or
66 // modify it under the terms of the GNU General Public License
@@ -180,7 +180,7 @@
180180 void CUnshelve::OnCbnSelchangeVersioncombo()
181181 {
182182 auto sel = m_cVersionCombo.GetCurSel();
183- if ((sel != CB_ERR) && (sel < m_currentShelfInfo.versions.size()))
183+ if ((sel != CB_ERR) && (sel < (int)m_currentShelfInfo.versions.size()))
184184 {
185185 auto version = m_currentShelfInfo.versions[sel];
186186 m_currentFiles = std::get<1>(version);
Show on old repository browser