Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
rinri
/
slstatus
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
ram: fixed int overflow on pagetok macro
master
Tobias Tschinkowitz
6 lat temu
committed by
Aaron Marcher
rodzic
f17f39d0a2
commit
5db729fedb
1 zmienionych plików
z
1 dodań
i
1 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-1
components/ram.c
+ 1
- 1
components/ram.c
Wyświetl plik
@@ -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)
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz