diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-05-30 11:58:42 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-05-30 11:58:42 +0000 |
commit | 92e32bc91bb91294ce6f906c8f203e9cef730764 (patch) | |
tree | 4ccf207dbcf2c5fff27a268ceab7bb7fe1ec09ec /games/burrtools | |
parent | a39d7e254481a9ca977d7db546366850430cd4cd (diff) | |
download | ports-92e32bc91bb91294ce6f906c8f203e9cef730764.tar.gz ports-92e32bc91bb91294ce6f906c8f203e9cef730764.zip |
Notes
Diffstat (limited to 'games/burrtools')
-rw-r--r-- | games/burrtools/files/patch-src-lib-stl.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/burrtools/files/patch-src-lib-stl.cpp b/games/burrtools/files/patch-src-lib-stl.cpp index c2ea074a7d88..2295c039f148 100644 --- a/games/burrtools/files/patch-src-lib-stl.cpp +++ b/games/burrtools/files/patch-src-lib-stl.cpp @@ -18,3 +18,12 @@ void stlExporter_c::write(const char * fname, const voxel_c & v, const faceList_c & holes) +@@ -62,7 +64,7 @@ void stlExporter_c::write(const char * f + FILE * f; + unsigned long triangleCount = 0; + +- const char * title = basename(fname); ++ const char * title = basename(const_cast<char*>(fname)); + + if (binaryMode) + { |