Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
rinri
/
slstatus
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
ram: fixed int overflow on pagetok macro
master
Tobias Tschinkowitz
6 vuotta sitten
committed by
Aaron Marcher
vanhempi
f17f39d0a2
commit
5db729fedb
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/ram.c
+ 1
- 1
components/ram.c
Näytä tiedosto
@@ -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)
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna