Aenderungen fuer wieder funktionierendes strict_types
- Deklarative Casts hinzugefuegt
- Typen gefixt
Change-Id: I44c6082d907efb241a35da248774809054f8c5ab
diff --git a/secure/errord.c b/secure/errord.c
index 884d3c1..a17639b 100644
--- a/secure/errord.c
+++ b/secure/errord.c
@@ -459,7 +459,7 @@
// nicht gespeichert.
if (this_interactive() && IS_LEARNER(this_interactive())
&& strstr(issue->loadname,WIZARDDIR)==0
- && this_interactive()->QueryProp(P_DONT_LOG_ERRORS))
+ && ({int})this_interactive()->QueryProp(P_DONT_LOG_ERRORS))
{
return 0;
}
@@ -624,7 +624,7 @@
// nicht gespeichert.
if (this_interactive() && IS_LEARNER(this_interactive())
&& strstr(issue->loadname,WIZARDDIR)==0
- && this_interactive()->QueryProp(P_DONT_LOG_ERRORS)) {
+ && ({int})this_interactive()->QueryProp(P_DONT_LOG_ERRORS)) {
return 0;
}
@@ -1435,7 +1435,7 @@
mail[MSG_BODY]=text;
mail[MSG_ID]=sprintf(MUDNAME": %d.%d",time(),random(__INT_MAX__));
- if (!sizeof("/secure/mailer"->DeliverMail(mail,0)))
+ if (!sizeof(({string*})"/secure/mailer"->DeliverMail(mail,0)))
res = -1; // an niemanden erfolgreich zugestellt. :-(
else
res = 1;
@@ -1462,7 +1462,7 @@
getuid(TI));
mail[MSG_BODY] = text;
- if (!sizeof("/secure/mailer"->DeliverMail(mail,0)))
+ if (!sizeof(({string*})"/secure/mailer"->DeliverMail(mail,0)))
res |= -1;
else
res |= 1;