Diverse kaputte Casts repariert.

Unwirksame und ueberfluessige Casts entfernt,
etwas Code-Cleanup.

Change-Id: I92f01e6391c432cd0881a5faac580f6d0b40c323
diff --git a/p/daemon/channeld.c b/p/daemon/channeld.c
index d7d9029..cc9ced9 100644
--- a/p/daemon/channeld.c
+++ b/p/daemon/channeld.c
@@ -305,7 +305,7 @@
   // Hab ich die noetigen Rechte im Memory?
   if (call_other(MEMORY,"HaveRights")) {
     // Objektpointer laden
-    channelH = (mixed) call_other(MEMORY,"Load","History");
+    channelH = call_other(MEMORY,"Load","History");
 
     // Wenns nich geklappt hat, hat der Memory noch keinen Zeiger, dann
     if (!mappingp(channelH)){
diff --git a/p/daemon/debug.c b/p/daemon/debug.c
index e1b3f7f..2727d9c 100644
--- a/p/daemon/debug.c
+++ b/p/daemon/debug.c
@@ -30,7 +30,8 @@
             // Wer (noch) nicht auf dem Kanal ist, bekommt auch keine
             // Ausgabe - sonst gibt es selbige doppelt, da der CHMASTER
             // einen automatisch den Kanal betreten laesst ...
-            if ( !objectp(pl) || !pointerp(tmp=(mixed)pl->QueryProp(P_CHANNELS)) ||
+            if ( !objectp(pl) ||
+                 !pointerp(tmp=({string*})pl->QueryProp(P_CHANNELS)) ||
                  member( tmp, lower_case(ch) ) == -1 )
                 return 1;