diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-07-08 16:47:11 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-07-08 16:47:11 +0200 |
commit | b47ef1431f2e4d1218253df179b593cc5c269aa7 (patch) | |
tree | 37f8ebcfa5fc49a376f2eb3a13e19805274797e3 /test/product_notemporary.cpp | |
parent | e25e6748521818fb13270f7351df8538eb54a056 (diff) |
Fix many long to int implicit conversions
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r-- | test/product_notemporary.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 258d238e2..3a9df618b 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -7,13 +7,12 @@ // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -static int nb_temporaries; +static long int nb_temporaries; -inline void on_temporary_creation(int size) { +inline void on_temporary_creation(long int size) { // here's a great place to set a breakpoint when debugging failures in this test! if(size!=0) nb_temporaries++; } - #define EIGEN_DENSE_STORAGE_CTOR_PLUGIN { on_temporary_creation(size); } |