Index: OpenSceneGraph/trunk/src/osgPlugins/3ds/readwrite.cpp
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/3ds/readwrite.cpp (revision 10076)
+++ OpenSceneGraph/trunk/src/osgPlugins/3ds/readwrite.cpp (revision 10088)
@@ -374,5 +374,5 @@
 {
   ASSERT(strm);
-  strm->write((char*)b,1);
+  strm->write((const char*)b,1);
   if (strm->fail()) {
     return(LIB3DS_FALSE);
@@ -401,5 +401,5 @@
   b[0]=(Lib3dsByte)((Lib3dsWord)w & 0x00FF);
 
-  strm->write((char*)b,2);
+  strm->write((const char*)b,2);
   if (strm->fail()) {
     return(LIB3DS_FALSE);
@@ -430,5 +430,5 @@
   b[0]=(Lib3dsByte)(((Lib3dsDword)d & 0x000000FF));
 
-  strm->write((char*)b,4);
+  strm->write((const char*)b,4);
   if (strm->fail()) {
     return(LIB3DS_FALSE);
