projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
[occt.git]
/
src
/
VrmlData
/
VrmlData_ShapeConvert.cxx
diff --git
a/src/VrmlData/VrmlData_ShapeConvert.cxx
b/src/VrmlData/VrmlData_ShapeConvert.cxx
index
22ffec8
..
b70ff5a
100755
(executable)
--- a/
src/VrmlData/VrmlData_ShapeConvert.cxx
+++ b/
src/VrmlData/VrmlData_ShapeConvert.cxx
@@
-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;