Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
rinri
/
slstatus
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
ram: fixed int overflow on pagetok macro
master
Tobias Tschinkowitz
il y a 6 ans
committed by
Aaron Marcher
Parent
f17f39d0a2
révision
5db729fedb
1 fichiers modifiés
avec
1 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
components/ram.c
+ 1
- 1
components/ram.c
Voir le fichier
@@ -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)
Écrire
Aperçu
Chargement…
Annuler
Enregistrer