[Pkg-octave-commit] rev 753 - trunk/packages/octaviz/debian/patches
Thomas Weber
thomas-guest at costa.debian.org
Mon Sep 25 05:39:18 UTC 2006
Author: thomas-guest
Date: 2006-09-25 05:39:17 +0000 (Mon, 25 Sep 2006)
New Revision: 753
Modified:
trunk/packages/octaviz/debian/patches/50-cast-pointer.patch
Log:
Pointers aren't ints on 64 bit architectures (revisited)
Modified: trunk/packages/octaviz/debian/patches/50-cast-pointer.patch
===================================================================
--- trunk/packages/octaviz/debian/patches/50-cast-pointer.patch 2006-09-24 16:42:52 UTC (rev 752)
+++ trunk/packages/octaviz/debian/patches/50-cast-pointer.patch 2006-09-25 05:39:17 UTC (rev 753)
@@ -1,6 +1,6 @@
-diff -Nur octaviz/Common/octaviz.cc octaviz.new/Common/octaviz.cc
---- octaviz/Common/octaviz.cc 2006-09-23 09:00:45.182130000 +0000
-+++ octaviz.new/Common/octaviz.cc 2006-09-23 09:20:46.557234014 +0000
+diff -Nur octaviz-0.4.0+cvs20060921/Common/octaviz.cc octaviz-0.4.0+cvs20060921.new/Common/octaviz.cc
+--- octaviz-0.4.0+cvs20060921/Common/octaviz.cc 2006-09-23 09:49:02.000000000 +0000
++++ octaviz-0.4.0+cvs20060921.new/Common/octaviz.cc 2006-09-25 05:34:11.413957907 +0000
@@ -180,7 +180,7 @@
unsigned int vtk_object::uint_value (bool req_int, bool frc_str_conv ) const
@@ -10,3 +10,12 @@
}
octave_uint64 vtk_object::uint64_scalar_value (void) const
+@@ -190,7 +190,7 @@
+
+ octave_uint32 vtk_object::uint32_scalar_value (void) const
+ {
+- return reinterpret_cast<octave_uint32_t>(vtk_pointer);
++ return reinterpret_cast<uintptr_t>(vtk_pointer);
+ }
+
+
More information about the Pkg-octave-commit
mailing list