Aenderungen fuer wieder funktionierendes strict_types
- Deklarative Casts hinzugefuegt
- Typen gefixt
Change-Id: I44c6082d907efb241a35da248774809054f8c5ab
diff --git a/std/thing/commands.c b/std/thing/commands.c
index c3eddf6..157fe74 100644
--- a/std/thing/commands.c
+++ b/std/thing/commands.c
@@ -79,10 +79,10 @@
// Restriktionen vor dem Anzeigen pruefen.
if (mappingp(restr))
{
- string res = "/std/restriction_checker"->check_restrictions(PL,restr);
+ string res = ({string})"/std/restriction_checker"->check_restrictions(PL,restr);
if (res)
{
- PL->ReceiveMsg("Fuer " + name(WEN,1) + " darfst Du "
+ ({int})PL->ReceiveMsg("Fuer " + name(WEN,1) + " darfst Du "
"die Syntaxhilfe (noch) nicht lesen:\n"
+ res,
MT_NOTIFICATION|MSG_BS_LEAVE_LFS,
@@ -96,12 +96,12 @@
if (res)
{
if (intp(res))
- PL->ReceiveMsg("Fuer " + name(WEN,1) + " darfst Du "
+ ({int})PL->ReceiveMsg("Fuer " + name(WEN,1) + " darfst Du "
"die Syntaxhilfe (noch) nicht lesen.",
MT_NOTIFICATION|MSG_BS_LEAVE_LFS,
"syntaxhilfe",0,this_object());
else if (stringp(res))
- PL->ReceiveMsg(res,
+ ({int})PL->ReceiveMsg(res,
MT_NOTIFICATION|MSG_BS_LEAVE_LFS,
"syntaxhilfe",0,this_object());
return 1;
@@ -127,7 +127,7 @@
return 0;
}
if (stringp(help) && sizeof(help))
- PL->ReceiveMsg(help, MT_NOTIFICATION|MSG_BS_LEAVE_LFS,
+ ({int})PL->ReceiveMsg(help, MT_NOTIFICATION|MSG_BS_LEAVE_LFS,
"syntaxhilfe",0,this_object());
return 1;