diff data/fft/FFTMemoryCache.cpp @ 1038:cc27f35aa75c cxx11

Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author Chris Cannam
date Tue, 03 Mar 2015 15:18:24 +0000
parents 5173e56e17f7
children
line wrap: on
line diff
--- a/data/fft/FFTMemoryCache.cpp	Tue Mar 03 09:33:59 2015 +0000
+++ b/data/fft/FFTMemoryCache.cpp	Tue Mar 03 15:18:24 2015 +0000
@@ -196,10 +196,10 @@
     }
 }
 
-int
+size_t
 FFTMemoryCache::getCacheSize(int width, int height, FFTCache::StorageType type)
 {
-    int sz = 0;
+    size_t sz = 0;
 
     switch (type) {