[Scummvm-git-logs] scummvm master -> ab15d010da587098fc1719efbb2080fcc23085a3

eriktorbjorn noreply at scummvm.org
Sat Jun 18 08:19:18 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ab15d010da AGS: Fix compile error due to wrong 64-bit type


Commit: ab15d010da587098fc1719efbb2080fcc23085a3
    https://github.com/scummvm/scummvm/commit/ab15d010da587098fc1719efbb2080fcc23085a3
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2022-06-18T10:18:02+02:00

Commit Message:
AGS: Fix compile error due to wrong 64-bit type

Changed paths:
    engines/ags/engine/ac/global_debug.cpp


diff --git a/engines/ags/engine/ac/global_debug.cpp b/engines/ags/engine/ac/global_debug.cpp
index ec0ce698653..5e4e57a4438 100644
--- a/engines/ags/engine/ac/global_debug.cpp
+++ b/engines/ags/engine/ac/global_debug.cpp
@@ -59,7 +59,7 @@ String GetRuntimeInfo() {
 	const size_t total_lockspr =  _GP(spriteset).GetLockedSize();
 	const size_t total_normspr = total_spr - total_lockspr;
 	const size_t max_normspr =  _GP(spriteset).GetMaxCacheSize() - total_lockspr;
-	const unsigned norm_spr_filled = (uint64_t)total_normspr * 100 / max_normspr;
+	const unsigned norm_spr_filled = (uint64)total_normspr * 100 / max_normspr;
 	String runtimeInfo = String::FromFormat(
 		"Adventure Game Studio run-time engine[ACI version %s"
 		"[Game resolution %d x %d (%d-bit)"




More information about the Scummvm-git-logs mailing list