-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux: parse numbers as u64 directly, fixes #126
The test meminfo example was failing because it was being parsed as usize (32 on 32-bit platforms) and then converted to u64 to make a bytesize. Make the parse function generic to use with u64 directly.
- Loading branch information
1 parent
cbd9c16
commit 934f424
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters