Commit 119b3d38 authored by David Mosberger's avatar David Mosberger

ia64: Minor fix for get_order() so it works even for insanely large

	arguments.
parent 208c7d01
...@@ -145,7 +145,7 @@ typedef union ia64_va { ...@@ -145,7 +145,7 @@ typedef union ia64_va {
static __inline__ int static __inline__ int
get_order (unsigned long size) get_order (unsigned long size)
{ {
double d = size - 1; long double d = size - 1;
long order; long order;
order = ia64_getf_exp(d); order = ia64_getf_exp(d);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment