fix a cast
This commit is contained in:
		
							parent
							
								
									20ce213de9
								
							
						
					
					
						commit
						fbdd5224b2
					
				@ -413,7 +413,7 @@ namespace paint
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		nana::size	graphics::text_extent_size(const std::wstring& text)	const
 | 
							nana::size	graphics::text_extent_size(const std::wstring& text)	const
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			return text_extent_size(text.c_str(), text.length());
 | 
								return text_extent_size(text.c_str(), static_cast<unsigned>(text.length()));
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		nana::size	graphics::text_extent_size(const wchar_t* str, std::size_t len)	const
 | 
							nana::size	graphics::text_extent_size(const wchar_t* str, std::size_t len)	const
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user