mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +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
This commit is contained in:
parent
7685e8d97a
commit
da5d0a1dbc
@ -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