mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -82,7 +82,7 @@ void VrmlData_ShapeConvert::AddShape (const TopoDS_Shape& theShape,
|
||||
char buf[2048], * optr = &buf[0];
|
||||
char * eptr = &buf[sizeof(buf)-1];
|
||||
for (const char * ptr = theName;; ptr++) {
|
||||
int sym = *ptr;
|
||||
char sym = *ptr;
|
||||
if (sym == '\0' || sym == '\n' || sym == '\r') {
|
||||
* optr = '\0';
|
||||
break;
|
||||
|
Reference in New Issue
Block a user