mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
Most of the compiler warnings C4244 have been eliminated.
This commit is contained in:
@@ -373,7 +373,7 @@ void rec_deblist()
|
||||
default: {
|
||||
char bufsub[10];
|
||||
if (numsub > 9) sprintf (bufsub,"$%d",numsub) ;
|
||||
else { bufsub[0] = '$'; bufsub[1] = numsub + 48; bufsub[2] = '\0'; }
|
||||
else { bufsub[0] = '$'; bufsub[1] = (char)(numsub + 48); bufsub[2] = '\0'; }
|
||||
subrec->ident = rec_newtext(bufsub) ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user