This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
slstatus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
ram: fixed int overflow on pagetok macro
master
Tobias Tschinkowitz
6 years ago
committed by
Aaron Marcher
parent
f17f39d0a2
commit
5db729fedb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/ram.c
+ 1
- 1
components/ram.c
View File
@@ -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)
Write
Preview
Loading…
Cancel
Save