[Scummvm-git-logs] scummvm master -> 7160d46a3f6e2871b98781d95cfde3c3390af2c6

eriktorbjorn noreply at scummvm.org
Sat Jun 18 09:59:33 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:
7160d46a3f Revert "AGS: Fix compile error due to wrong 64-bit type"


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

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

This reverts commit ab15d010da587098fc1719efbb2080fcc23085a3.

It's not needed, since AGS now has uint64_t.

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 5e4e57a4438..ec0ce698653 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)total_normspr * 100 / max_normspr;
+	const unsigned norm_spr_filled = (uint64_t)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