本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
rinri
/
slstatus
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
ram: fixed int overflow on pagetok macro
master
Tobias Tschinkowitz
6 年之前
committed by
Aaron Marcher
父節點
f17f39d0a2
當前提交
5db729fedb
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/ram.c
+ 1
- 1
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)
Write
Preview
Loading…
取消
儲存