diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2011-05-05 00:44:24 +0200 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2011-05-05 00:44:24 +0200 |
commit | a18a1be42d35b9de82949eaa54ce5196002da391 (patch) | |
tree | 873ad3923dc758294e5f150c6f64ba5e24bbb4d4 /unsupported/Eigen/FFT | |
parent | 012419166e32a83798db3424462c1b36db4c7807 (diff) |
Fix compilation with gcc-4.6.0, patch provided by Anton Gladky <gladky.anton@gmail.com>,
working on debian packaging.
Diffstat (limited to 'unsupported/Eigen/FFT')
-rw-r--r-- | unsupported/Eigen/FFT | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/FFT b/unsupported/Eigen/FFT index 0b2823058..c8f14d845 100644 --- a/unsupported/Eigen/FFT +++ b/unsupported/Eigen/FFT @@ -393,7 +393,7 @@ class FFT for (int k=0;k<nx;++k) *x++ *= s; #else - if ( ((ptrdiff_t)x) & 15 ) + if ( ((std::ptrdiff_t)x) & 15 ) Matrix<T_Data, Dynamic, 1>::Map(x,nx) *= s; else Matrix<T_Data, Dynamic, 1>::MapAligned(x,nx) *= s; |