Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215431
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- plugins/threshold/threshold.C
0
++ plugins/threshold/threshold.C
Lines 461-473 Link Here
461
}
461
}
462
462
463
template<>
463
template<>
464
static inline float scale_to_range(int v)
464
inline float scale_to_range(int v)
465
{
465
{
466
	return (float) v / 0xff;
466
	return (float) v / 0xff;
467
}
467
}
468
468
469
template<>
469
template<>
470
static inline uint16_t scale_to_range(int v)
470
inline uint16_t scale_to_range(int v)
471
{
471
{
472
	return v << 8 | v;
472
	return v << 8 | v;
473
}
473
}

Return to bug 215431