--- hvirtual/plugins/threshold/threshold.C.ark 2008-01-15 17:15:47.000000000 +0000 +++ hvirtual/plugins/threshold/threshold.C 2008-01-15 17:16:24.000000000 +0000 @@ -461,13 +461,13 @@ } template<> -static inline float scale_to_range(int v) +inline float scale_to_range(int v) { return (float) v / 0xff; } template<> -static inline uint16_t scale_to_range(int v) +inline uint16_t scale_to_range(int v) { return v << 8 | v; }