Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Flush the output stream instead of arbitrarily disabling buffering
[slstatus.git]
/
components
/
ram.c
diff --git
a/components/ram.c
b/components/ram.c
index
0ac9753
..
0333b3b
100644
(file)
--- a/
components/ram.c
+++ b/
components/ram.c
@@
-75,7
+75,7
@@
#include <unistd.h>
#define LOG1024 10
- #define pagetok(size, pageshift) (
(size)
<< (pageshift - LOG1024))
+ #define pagetok(size, pageshift) (
size_t)(size
<< (pageshift - LOG1024))
inline int
load_uvmexp(struct uvmexp *uvmexp)