Skip to content

Commit

Permalink
Replaced C cast to long with a static_cast<const void*>() to avoid a …
Browse files Browse the repository at this point in the history
…build error under Mingw 64.
  • Loading branch information
robertosfield committed Jan 31, 2014
1 parent a7a642a commit 32fccb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgText/Glyph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ void Glyph::subload() const
"\t "<<s()<<" ,"<<t()<<std::endl<<hex<<
"\t 0x"<<(GLenum)getPixelFormat()<<std::endl<<
"\t 0x"<<(GLenum)getDataType()<<std::endl<<
"\t 0x"<<(unsigned long)data()<<");"<<dec<<std::endl;
"\t "<<static_cast<const void*>(data())<<");"<<dec<<std::endl;
}
}

Expand Down

0 comments on commit 32fccb3

Please sign in to comment.