mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix sparc64 build.
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Use strtoumax instead of strtoull.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-10-25 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
|
||||||
|
(__get_clockfreq_via_proc_openprom): Use strtoumax instead
|
||||||
|
of strtoull.
|
||||||
|
|
||||||
2012-10-25 Roland McGrath <roland@hack.frob.com>
|
2012-10-25 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
|
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
|
||||||
|
@ -129,7 +129,7 @@ __get_clockfreq_via_proc_openprom (void)
|
|||||||
if (read (clkfreq_fd, type_string,
|
if (read (clkfreq_fd, type_string,
|
||||||
sizeof (type_string)) > 0)
|
sizeof (type_string)) > 0)
|
||||||
result = (hp_timing_t)
|
result = (hp_timing_t)
|
||||||
strtoull (type_string, NULL, 16);
|
strtoumax (type_string, NULL, 16);
|
||||||
close (clkfreq_fd);
|
close (clkfreq_fd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user