From 463ab195cfe383f0ccb14fbe9deb0474e85c7a43 Mon Sep 17 00:00:00 2001 From: Unsung Lee Date: Thu, 9 Nov 2023 16:55:21 +0900 Subject: [PATCH] proc-common: Change limit_bytes type to cover larger than 4GB Change limit_bytes type from unsigned long to uint64_t to cover more than 4GB in 32bit machine. Change-Id: I48405ad16066f21a5c569f7eab181ef2d2ef2a14 Signed-off-by: Unsung Lee --- src/common/proc-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/proc-common.h b/src/common/proc-common.h index 6210f5a..77ae47e 100644 --- a/src/common/proc-common.h +++ b/src/common/proc-common.h @@ -104,7 +104,7 @@ struct proc_status { struct proc_limit_status { struct proc_status ps; - unsigned long limit_bytes; + uint64_t limit_bytes; enum proc_action action; }; -- 2.7.4