Julius Volz acbc2b8cb6 storage: Fix float->uint conversions on some compilers.
See https://github.com/prometheus/prometheus/issues/887, which will at
least be partially fixed by this.

From the spec https://golang.org/ref/spec#Conversions:

"In all non-constant conversions involving floating-point or complex
values, if the result type cannot represent the value the conversion
succeeds but the result value is implementation-dependent."

This ended up setting the converted values to 0 on Debian's Go 1.4.2
compiler, at least on 32-bit Debians.
2015-07-13 11:19:11 +02:00
..
2015-05-07 18:17:59 +02:00
2015-06-15 19:01:06 +02:00
2015-03-06 17:03:56 +01:00
2015-06-23 17:07:18 +02:00
2014-11-25 17:07:45 +01:00
2015-06-15 19:01:06 +02:00