Module: wine Branch: stable Commit: b2e3d387af5900b518aba0a24e1358a7c9af9d7b URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2e3d387af5900b518aba0a24...
Author: Alexandre Julliard julliard@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@winehq.org (cherry picked from commit 70d17d39295f10e5eec4739e525128b850107272) Signed-off-by: Michael Stefaniuc mstefani@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 12f1ab58ab..5169f89a75 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -2314,7 +2314,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)) {