
5 Sep
2025
5 Sep
'25
9:23 p.m.
From: Simon Glass <sjg@chromium.org> This header file is useful outside U-Boot, for the ulib examples. Also it is supposed to be a system-facing header. So using U-Boot types is not a good idea. Replace the sole use of 'ulong' with 'unsigned long'. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os.h b/include/os.h index e5c524c57a4..dfd6e3c7692 100644 --- a/include/os.h +++ b/include/os.h @@ -291,7 +291,7 @@ struct os_dirent_node { /** * @size: size of file in bytes */ - ulong size; + unsigned long size; /** * @type: type of entry */ -- 2.43.0