mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +00:00
visual studio 2012 Level 4 warning fixes
This commit is contained in:
parent
835649aa2f
commit
502e346eb6
8 changed files with 19 additions and 24 deletions
|
|
@ -108,7 +108,7 @@ compare_right(const nat_char* a, const nat_char* b)
|
|||
remember it in BIAS. */
|
||||
for (;; a++, b++) {
|
||||
if (!nat_isdigit(*a) && !nat_isdigit(*b))
|
||||
return bias;
|
||||
break;
|
||||
else if (!nat_isdigit(*a))
|
||||
return -1;
|
||||
else if (!nat_isdigit(*b))
|
||||
|
|
@ -123,7 +123,7 @@ compare_right(const nat_char* a, const nat_char* b)
|
|||
return bias;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return bias;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ compare_left(const nat_char* a, const nat_char* b)
|
|||
different value wins. */
|
||||
for (;; a++, b++) {
|
||||
if (!nat_isdigit(*a) && !nat_isdigit(*b))
|
||||
return 0;
|
||||
break;
|
||||
else if (!nat_isdigit(*a))
|
||||
return -1;
|
||||
else if (!nat_isdigit(*b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue