Alexandre Julliard : ntdll: Use the correct type for %llu scanf format.

Alexandre Julliard julliard at winehq.org
Tue Apr 23 17:39:54 CDT 2019


Module: wine
Branch: master
Commit: 70d17d39295f10e5eec4739e525128b850107272
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=70d17d39295f10e5eec4739e525128b850107272

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 23 17:10:47 2019 +0200

ntdll: Use the correct type for %llu scanf format.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/nt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index c8794e5..d03c0a1 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -2321,7 +2321,7 @@ NTSTATUS WINAPI NtQuerySystemInformation(
 
             if ((fp = fopen("/proc/meminfo", "r")))
             {
-                ULONG64 totalram, freeram, totalswap, freeswap;
+                unsigned long long totalram, freeram, totalswap, freeswap;
                 char line[64];
                 while (fgets(line, sizeof(line), fp))
                 {




More information about the wine-cvs mailing list