Diverse kaputte Casts repariert.
Unwirksame und ueberfluessige Casts entfernt,
etwas Code-Cleanup.
Change-Id: I92f01e6391c432cd0881a5faac580f6d0b40c323
diff --git a/std/shells/magier/fileedit.c b/std/shells/magier/fileedit.c
index b558585..b0bfeb0 100644
--- a/std/shells/magier/fileedit.c
+++ b/std/shells/magier/fileedit.c
@@ -95,8 +95,8 @@
static mixed cp_file(mixed filedata,int move,int flags, mixed *do_delete)
{
string source,dest;
- source=(string)filedata[FULLNAME];
- dest=(string)filedata[DESTNAME];
+ source=filedata[FULLNAME];
+ dest=filedata[DESTNAME];
if (source==dest) return ERROR(SAME_FILE,source,RET_FAIL);
if (!MAY_READ(source)) return ERROR(NO_READ,source,RET_JUMP);
if (!MAY_WRITE(dest)) return ERROR(NO_WRITE,dest,RET_JUMP);