suppress a CodeWarrior warning about long to int conversion (bug 1616948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -1928,7 +1928,9 @@ inline wxLongLong wxTimeSpan::GetSeconds() const
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
inline int wxTimeSpan::GetMinutes() const
 | 
					inline int wxTimeSpan::GetMinutes() const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return (GetSeconds() / 60l).GetLo();
 | 
					    // explicit cast to int suppresses a warning with CodeWarrior and possibly
 | 
				
			||||||
 | 
					    // others (changing the return type to long from int is impossible in 2.8)
 | 
				
			||||||
 | 
					    return (int)((GetSeconds() / 60l).GetLo());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
inline int wxTimeSpan::GetHours() const
 | 
					inline int wxTimeSpan::GetHours() const
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user