mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
kboot: Use unsigned long long.
For the 64-bit platforms, this is a nop. Currently kboot only supports
64-bit platforms, though. If we support 32-bit in the future, this will
become important.
Noticed by: rpokala
Sponsored by: Netflix
(cherry picked from commit da5d0a1dbc
)
This commit is contained in:
parent
0e78599a5b
commit
01e7e8c58f
@ -35,7 +35,7 @@ file2str(const char *fn, char *buffer, size_t buflen)
|
||||
bool
|
||||
file2u64(const char *fn, uint64_t *val)
|
||||
{
|
||||
unsigned long v;
|
||||
unsigned long long v;
|
||||
char buffer[80];
|
||||
|
||||
if (!file2str(fn, buffer, sizeof(buffer)))
|
||||
|
Loading…
Reference in New Issue
Block a user