+ fix various warnings with VC++

This commit is contained in:
wmayer
2015-09-01 12:50:10 +02:00
parent 4fd3a15b98
commit db9a68feec
5 changed files with 19 additions and 12 deletions

View File

@@ -1419,10 +1419,10 @@ void CDxfRead::get_line()
m_ifs->getline(m_str, 1024);
char str[1024];
int len = strlen(m_str);
size_t len = strlen(m_str);
int j = 0;
bool non_white_found = false;
for(int i = 0; i<len; i++){
for(size_t i = 0; i<len; i++){
if(non_white_found || (m_str[i] != ' ' && m_str[i] != '\t')){
if(m_str[i] != '\r')
{