[Scummvm-git-logs] scummvm branch-2-9 -> fc31b16d83c97cf56ffbb6971355b9857c94294b
lephilousophe
noreply at scummvm.org
Sun Nov 17 08:36:48 UTC 2024
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:
fc31b16d83 AGS: Fix build when int32_t is long int
Commit: fc31b16d83c97cf56ffbb6971355b9857c94294b
https://github.com/scummvm/scummvm/commit/fc31b16d83c97cf56ffbb6971355b9857c94294b
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-11-17T09:36:05+01:00
Commit Message:
AGS: Fix build when int32_t is long int
When in32_t is long int, the compiler doesn't know what to choose for
int: the long int overload or the pointer ones.
Changed paths:
engines/ags/shared/core/types.h
diff --git a/engines/ags/shared/core/types.h b/engines/ags/shared/core/types.h
index e4dbb02566e..8b5980ed00e 100644
--- a/engines/ags/shared/core/types.h
+++ b/engines/ags/shared/core/types.h
@@ -115,8 +115,7 @@ class NumberPtr {
public:
NumberPtr() : _value(0) {
}
- NumberPtr(int32_t value) {
- _value = value;
+ NumberPtr(int value) : _value(value) {
}
NumberPtr(void *ptr) : _value((intptr_t)ptr) {
}
More information about the Scummvm-git-logs
mailing list