summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openscenegraph-3-fix-pointer-to-int-conversion-on-64bit.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openscenegraph-3-fix-pointer-to-int-conversion-on-64bit.patch b/src/openscenegraph-3-fix-pointer-to-int-conversion-on-64bit.patch
index 835cf6f..c648477 100644
--- a/src/openscenegraph-3-fix-pointer-to-int-conversion-on-64bit.patch
+++ b/src/openscenegraph-3-fix-pointer-to-int-conversion-on-64bit.patch
@@ -19,7 +19,7 @@ index 9f2b3c7..98e0c19 100644
std::stringstream ss;
ss << osgDB::getFilePath(baseName) << osgDB::getNativePathSeparator();
- ss << (long int)image << ".inline_conv_generated.png"; // write the pointer location
-+ ss << (intptr_t)image << ".inline_conv_generated.png"; // write the pointer location
++ ss << (uintptr_t)image << ".inline_conv_generated.png"; // write the pointer location
std::string filename = ss.str();
if (osgDB::writeImageFile(*image, filename)) {
image->setFileName(filename);